From dda591fa33ac10c433289aa3ee862c3ded41eed3 Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Mon, 29 Jan 2024 23:34:07 +0100 Subject: Syntax highlight is a go --- src/dged/display.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'src/dged/display.h') diff --git a/src/dged/display.h b/src/dged/display.h index 2fc807b..aae2614 100644 --- a/src/dged/display.h +++ b/src/dged/display.h @@ -119,6 +119,25 @@ struct command_list *command_list_create(uint32_t capacity, */ void command_list_set_show_whitespace(struct command_list *list, bool show); +enum colors { + Color_Black = 0, + Color_Red, + Color_Green, + Color_Yellow, + Color_Blue, + Color_Magenta, + Color_Cyan, + Color_White, + Color_BrightBlack = 8, + Color_BrightRed, + Color_BrightGreen, + Color_BrightYellow, + Color_BrightBlue, + Color_BrightMagenta, + Color_BrightCyan, + Color_BrightWhite +}; + /** * Set background color * -- cgit v1.2.3