template.c: more manual formatting
This commit is contained in:
parent
adad4dcb24
commit
7a2073c2ef
@ -9,11 +9,11 @@
|
||||
|
||||
// constants
|
||||
#if defined(_WIN32)
|
||||
#define __ANSI_CLEAR_STRING "\r"
|
||||
# define __ANSI_CLEAR_STRING "\r"
|
||||
#elif defined(__unix__) || defined(__linux__)
|
||||
#define __ANSI_CLEAR_STRING "\x1B[2K\r"
|
||||
# define __ANSI_CLEAR_STRING "\x1B[2K\r"
|
||||
#else
|
||||
#define __ANSI_CLEAR_STRING "\n"
|
||||
# define __ANSI_CLEAR_STRING "\n"
|
||||
#endif
|
||||
const char* ANSI_CLEAR = __ANSI_CLEAR_STRING;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user