From f4a7e473cddd8a12240efb2b7c890214def17060 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 29 Jul 2018 21:46:28 -0400 Subject: Just print rs1 in dtch restoreTerm --- bin/dtch.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bin/dtch.c') diff --git a/bin/dtch.c b/bin/dtch.c index 6466c3be..ca0a612e 100644 --- a/bin/dtch.c +++ b/bin/dtch.c @@ -169,10 +169,7 @@ static int dtch(int argc, char *argv[]) { static struct termios saveTerm; static void restoreTerm(void) { tcsetattr(STDIN_FILENO, TCSADRAIN, &saveTerm); - printf( - "\x1b[?1049l" // rmcup - "\x1b\x63\x1b[!p\x1b[?3;4l\x1b[4l\x1b>" // reset - ); + printf("\x1B\x63"); // rs1 } static int atch(int argc, char *argv[]) { -- cgit 1.4.1