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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user