diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/doc | 2 | ||||
-rw-r--r-- | src/input.c | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -72,6 +72,8 @@ Navigation commands: zb Scroll vertically to position the selected cell at the bottom of the screen. Vir Select the smallest range that covers all valid cells. + ESC or c-g Clean stdin buffer, so SC-IM no longer waits for completing a + correct command. Commands for handling cell content: diff --git a/src/input.c b/src/input.c index bc0ab98..51336d0 100644 --- a/src/input.c +++ b/src/input.c @@ -98,8 +98,9 @@ void handle_input(struct block * buffer) { // Read new character from stdin return_value = ui_getch(&wd); d = wd; - if ( d == OKEY_ESC) { + if ( d == OKEY_ESC || d == ctl('g')) { break_waitcmd_loop(buffer); + ui_print_mult_pend(); return; } |