hexedit: restore screen on exit
function old new delta hexedit_main 998 1082 +84 restore_term - 29 +29 remap 168 173 +5 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 2/0 up/down: 118/0) Total: 118 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -1103,7 +1103,7 @@ static int64_t getch_nowait(void)
|
||||
goto again;
|
||||
}
|
||||
/* EOF/error (ssh session got killed etc) */
|
||||
less_exit(0);
|
||||
less_exit(EXIT_SUCCESS);
|
||||
}
|
||||
set_tty_cooked();
|
||||
return key64;
|
||||
|
||||
Reference in New Issue
Block a user