diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-10-04 00:13:09 +0000 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-10-06 12:37:06 +0200 |
commit | 98651a549f6fc43d96207734fb0f02b240354a4c (patch) | |
tree | 1a89355f2f0ddf3aa543fe8c01b21d37a13cd664 /src/help.c | |
parent | ba2aa5167b2157c99f3be4861c11717cd1b4cc6f (diff) | |
download | calcurse-98651a549f6fc43d96207734fb0f02b240354a4c.zip |
Add count buffer to keys_getch()
Key commands can be prefixed with a natural number - keys_getch() will
store this number in the buffer pointed to by the second parameter. Set
this parameter to NULL to disable count prefixes.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/help.c')
-rw-r--r-- | src/help.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -792,7 +792,7 @@ help_screen (void) } wins_scrollwin_display (&hwin); - ch = keys_getch (win[STA].p); + ch = keys_getch (win[STA].p, NULL); } wins_scrollwin_delete (&hwin); if (need_resize) |