summaryrefslogtreecommitdiffstats
path: root/src/help.c
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2022-01-20 10:04:46 -0300
committerAndrés <andmarti@gmail.com>2022-01-20 10:04:46 -0300
commitb1f338f1579ff780f7b833e4f221ea1b6fc62c3e (patch)
tree9620b7401de85c5ccd3640f0b78d285b79524e4c /src/help.c
parentd5c8278055f727fa5cc731f18332849ea5428c2b (diff)
fix special keys in help page
Diffstat (limited to 'src/help.c')
-rw-r--r--src/help.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/help.c b/src/help.c
index 922ff34..805d42e 100644
--- a/src/help.c
+++ b/src/help.c
@@ -163,6 +163,7 @@ void help() {
wclrtoeol(input_pad);
ui_refresh_pad(0);
+
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);
@@ -173,6 +174,7 @@ void help() {
int option;
+ keypad(input_win, 1);
while( ! quit_help_now ) {
option = show_lines();