still blank the screen on terminal that does not use the ALT SCREEN extension - iomenu - interactive terminal-based selection menu HTML git clone git://bitreich.org/iomenu git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/iomenu DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 462875a4784d821e865b0ee072ea23fbdb0a5428 DIR parent 1a73e9911476f01c8a4548f020b8def4e62bfe2b HTML Author: Josuah Demangeon <mail@josuah.net> Date: Sat, 20 Jan 2018 18:38:57 +0100 still blank the screen on terminal that does not use the ALT SCREEN extension Diffstat: M iomenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/iomenu.c b/iomenu.c @@ -392,7 +392,7 @@ set_terminal(void) static void reset_terminal(void) { - fputs("\x1b[u\033[?1049l", stderr); + fputs("\x1b[2J\x1b[u\033[?1049l", stderr); tcsetattr(ttyfd, TCSANOW, &termios); }