blob: 8985a6a01c6b91021ce0d36588bc047aeed78473 [file] [log] [blame]
commit-bot@chromium.org261c6662014-01-02 16:19:53 +00001#ifndef OverwriteLine_DEFINED
2#define OverwriteLine_DEFINED
3
4// Print this string to reset and clear your current terminal line.
5static const char* kSkOverwriteLine =
Mike Klein8f11d4d2018-01-24 12:42:55 -05006#ifdef SK_BUILD_FOR_WIN
commit-bot@chromium.org261c6662014-01-02 16:19:53 +00007"\r \r"
caryclark936b7342014-07-11 12:14:51 -07008#elif defined(SK_BUILD_FOR_IOS)
9"\r"
commit-bot@chromium.org261c6662014-01-02 16:19:53 +000010#else
11"\r\033[K"
12#endif
13;
14
15#endif//OverwriteLine_DEFINED