xref: /aosp_15_r20/external/skia/tools/OverwriteLine.h (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1 #ifndef OverwriteLine_DEFINED
2 #define OverwriteLine_DEFINED
3 
4 // Print this string to reset and clear your current terminal line.
5 static const char* kSkOverwriteLine =
6 #ifdef SK_BUILD_FOR_WIN
7 "\r                                                                               \r"
8 #elif defined(SK_BUILD_FOR_IOS)
9 "\r"
10 #else
11 "\r\033[K"
12 #endif
13 ;
14 
15 #endif//OverwriteLine_DEFINED
16