From e4c3cfd229c767aee2436ed81d282c8755abc886 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 7 Jul 2022 10:55:04 -0700 Subject: [PATCH] client: update CLEAR_SCREEN to be consistent with others Clear screen used a \033 escape sequence while others used a \x --- client/display.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/display.h b/client/display.h index c34cab9c..8e597bb5 100644 --- 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, ...)