From b93c0778fb8c1a0a57ea403a9fc72fc50f7054df Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Thu, 16 Jan 2025 19:13:59 +0100 Subject: [PATCH] change colors on ask/get windows --- display.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/display.c b/display.c index 7a3e3b8..b3dd004 100644 --- a/display.c +++ b/display.c @@ -313,13 +313,13 @@ char *getwindow (char *msg, window_t *win, int length, int size, char *init) int xsize = strlen (msg) + 1 + length; int yoffset = win->yoffset + (win->ysize - 1) / 2; - set_color (black); + set_color (wblue); _dobound (xsize, 1, xoffset, yoffset); mvaddstr (yoffset, xoffset, msg); xoffset += strlen (msg); mvaddch (yoffset, xoffset, ' '); xoffset++; - set_color (byellow); + set_color (bcyan); for (j = 0; (j < length) && (name[j] != '\0'); j++) { mvaddch (yoffset, xoffset + j, name[j]); } @@ -329,9 +329,9 @@ char *getwindow (char *msg, window_t *win, int length, int size, char *init) int stop = 0; while (!stop) { for (j = 0; (j < length) && (name[j + l] != '\0'); j++) { - set_color ((j == i) ? yellow : byellow); + set_color ((j == i) ? cyan : bcyan); mvaddch (yoffset, xoffset + j, name[j + l]); - set_color (white); + set_color (bblue); } int ch = getch (); switch (ch) { @@ -411,7 +411,7 @@ void msgwindow (char *msg, window_t *win, int length) } int yoffset = win->yoffset + (win->ysize - 1) / 2; - set_color (black); + set_color (wblue); _dobound (xsize, 1, xoffset, yoffset); mvaddstr (yoffset, xoffset, msg); set_color (white); -- 2.30.2