summaryrefslogtreecommitdiffstats
path: root/src/help.c
diff options
context:
space:
mode:
authorandmarti1424 <andmarti@gmail.com>2017-02-11 21:18:50 -0300
committerandmarti1424 <andmarti@gmail.com>2017-02-11 21:18:50 -0300
commit076628305789ab162212758de948a536bcd63103 (patch)
tree14b80d840697b81396c77f437f8b5001cf1138f8 /src/help.c
parent60c7d8714a1837dd78be71174dc62ccaaa242ad3 (diff)
Added gg command in help
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;