OverwriteLine.h 371 B

123456789101112131415
  1. #ifndef OverwriteLine_DEFINED
  2. #define OverwriteLine_DEFINED
  3. // Print this string to reset and clear your current terminal line.
  4. static const char* kSkOverwriteLine =
  5. #ifdef SK_BUILD_FOR_WIN
  6. "\r \r"
  7. #elif defined(SK_BUILD_FOR_IOS)
  8. "\r"
  9. #else
  10. "\r\033[K"
  11. #endif
  12. ;
  13. #endif//OverwriteLine_DEFINED