summaryrefslogtreecommitdiffstats
path: root/src/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/help.c')
-rw-r--r--src/help.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/help.c b/src/help.c
index 45d547d..9a5ac3a 100644
--- a/src/help.c
+++ b/src/help.c
@@ -143,6 +143,12 @@ void help() {
delta = max - LINES + RESROW;
break;
+ case 'g':
+ wtimeout(input_win, TIMEOUT_CURSES);
+ char c = wgetch(input_win);
+ wtimeout(input_win, -1);
+ if (c != 'g') break;
+
case ctl('a'):
delta = 0;
break;