summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2021-12-03 12:54:37 -0300
committerAndrés <andmarti@gmail.com>2021-12-03 12:54:37 -0300
commitfebe708c17629c52f4549da7dc8b6237c2126d66 (patch)
tree676e90f66adb56e3b1da96b210ca62555b3fc19b
parentec1fff4ba89f79838c3bc18621d726a42d5109c8 (diff)
change colors of help page
-rw-r--r--src/color.c1
-rw-r--r--src/help.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/color.c b/src/color.c
index 09b70b9..d92b1e2 100644
--- a/src/color.c
+++ b/src/color.c
@@ -144,6 +144,7 @@ void start_default_ucolors() {
ucolors[ CELL_CONTENT ].bold = 1;
ucolors[ INPUT ].fg = WHITE;
ucolors[ INPUT ].bg = DEFAULT_COLOR;
+ ucolors[ NORMAL ].bold = 1;
ucolors[ NORMAL ].fg = WHITE;
ucolors[ NORMAL ].bg = DEFAULT_COLOR;
ucolors[ CELL_ERROR ].fg = RED;
diff --git a/src/help.c b/src/help.c
index 1967299..922ff34 100644
--- a/src/help.c
+++ b/src/help.c
@@ -165,6 +165,7 @@ void help() {
wbkgd(main_win, COLOR_PAIR((ucolors[DEFAULT].fg+1) * (COLORS) + ucolors[DEFAULT].bg + 2));
ui_set_ucolor(main_win, &ucolors[NORMAL], DEFAULT_COLOR);
+ ui_set_ucolor(input_win, &ucolors[NORMAL], DEFAULT_COLOR);
wtimeout(input_win, -1);
noecho();
curs_set(0);