Index: tools/OverwriteLine.h |
diff --git a/tools/OverwriteLine.h b/tools/OverwriteLine.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b76c223ba634031eb7978f3a54892964fa6189c1 |
--- /dev/null |
+++ b/tools/OverwriteLine.h |
@@ -0,0 +1,13 @@ |
+#ifndef OverwriteLine_DEFINED |
+#define OverwriteLine_DEFINED |
+ |
+// Print this string to reset and clear your current terminal line. |
+static const char* kSkOverwriteLine = |
+#ifdef SK_BUILD_FOR_WIN32 |
+"\r \r" |
+#else |
+"\r\033[K" |
+#endif |
+; |
+ |
+#endif//OverwriteLine_DEFINED |