diff options
author | andmarti1424 <andmarti@gmail.com> | 2017-02-11 21:18:50 -0300 |
---|---|---|
committer | andmarti1424 <andmarti@gmail.com> | 2017-02-11 21:18:50 -0300 |
commit | 076628305789ab162212758de948a536bcd63103 (patch) | |
tree | 14b80d840697b81396c77f437f8b5001cf1138f8 /src/help.c | |
parent | 60c7d8714a1837dd78be71174dc62ccaaa242ad3 (diff) |
Added gg command in help
Diffstat (limited to 'src/help.c')
-rw-r--r-- | src/help.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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; |