commit e4c3cfd229c767aee2436ed81d282c8755abc886
parent da8a87fcf5b116b120569ffa3d9d93ebc4851232
Author: James Prestwood <prestwoj@gmail.com>
Date: Thu, 7 Jul 2022 10:55:04 -0700
client: update CLEAR_SCREEN to be consistent with others
Clear screen used a \033 escape sequence while others used a \x
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/display.h b/client/display.h
@@ -30,7 +30,7 @@ struct command_family;
#define COLOR_BLUE "\x1B[94m"
#define COLOR_YELLOW "\x1b[33m"
#define COLOR_OFF "\x1B[0m"
-#define CLEAR_SCREEN "\033[2J"
+#define CLEAR_SCREEN "\x1b[2J"
#define MARGIN " "
void display(const char *format, ...)