commit-bot@chromium.org | 261c666 | 2014-01-02 16:19:53 +0000 | [diff] [blame] | 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_WIN32 | ||||
7 | "\r \r" | ||||
caryclark | 936b734 | 2014-07-11 12:14:51 -0700 | [diff] [blame] | 8 | #elif defined(SK_BUILD_FOR_IOS) |
9 | "\r" | ||||
commit-bot@chromium.org | 261c666 | 2014-01-02 16:19:53 +0000 | [diff] [blame] | 10 | #else |
11 | "\r\033[K" | ||||
12 | #endif | ||||
13 | ; | ||||
14 | |||||
15 | #endif//OverwriteLine_DEFINED |