1
0

template.c: more manual formatting

This commit is contained in:
Intel A80486DX2-66 2023-11-18 23:38:20 +03:00
parent adad4dcb24
commit 7a2073c2ef
Signed by: 80486DX2-66
GPG Key ID: 83631EF27054609B

View File

@ -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;