iomenu

interactive text selection menu
Log | Files | Refs | README | LICENSE

commit 462875a4784d821e865b0ee072ea23fbdb0a5428
parent 1a73e9911476f01c8a4548f020b8def4e62bfe2b
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:
Miomenu.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

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); }