From de4053b744cc74315bd65d866dbf979ea09add02 Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Sat, 23 Dec 2017 08:24:51 +0100 Subject: [PATCH] Allow color 'yellow' for option -f and -b This color was missing in `getcolor()`, but is supported by the ncurses backend, so add it. --- src/curses/ux_init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/curses/ux_init.c b/src/curses/ux_init.c index 7c5e86a..1f5a0fd 100644 --- a/src/curses/ux_init.c +++ b/src/curses/ux_init.c @@ -920,6 +920,8 @@ static int getcolor(char *value) return CYAN_COLOUR; if (strcmp(value, "white") == 0) return WHITE_COLOUR; + if (strcmp(value, "yellow") == 0) + return YELLOW_COLOUR; if (strcmp(value, "purple") == 0) return MAGENTA_COLOUR; -- 2.34.1