correct color in view mode
authorLaurent Mazet <mazet@softndesign.org>
Wed, 22 Jan 2025 07:01:33 +0000 (08:01 +0100)
committerLaurent Mazet <mazet@softndesign.org>
Wed, 22 Jan 2025 07:01:33 +0000 (08:01 +0100)
display.c

index a8bf95e228fd1f7c38a5234c01ef5629a00c2b50..c7433f35912fe189d7d56e3f00d0753520b9c899 100644 (file)
--- a/display.c
+++ b/display.c
@@ -625,6 +625,7 @@ char *filewindow (char *name, window_t *win)
             break;
         case 'h':
             helpwindow (_help, (win->xsize - strmaxlen (_help, '\n')) / 2, 3 * win->yoffset);
+            set_color (black);
             break;
         case 'i':
         case KEY_UP: