From f55c6a5c82733392492ab606e95e8fad6d03d478 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 21 Sep 2019 19:00:53 -0700 Subject: [PATCH] Fix for ctrl-z not restoring cursor visibility --- bb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bb.c b/bb.c index 192c7ed..587c983 100644 --- a/bb.c +++ b/bb.c @@ -1273,7 +1273,7 @@ void bb_browse(bb_t *bb, const char *path) cleanup_and_exit(SIGINT); case KEY_CTRL_Z: - fputs(T_OFF(T_ALT_SCREEN), tty_out); + fputs(T_LEAVE_BBMODE, tty_out); restore_term(&orig_termios); raise(SIGTSTP); init_term();