From d461f4e32d2736fbae6f47d330b94cc4a8846cd1 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 27 Apr 2025 07:03:32 +0300 Subject: DOS: clear screen on exit It would be better to restore the previous screen contents, but that's probably not trivial to implement. --- tecterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tecterm.c b/tecterm.c index 9227e79..25e9849 100644 --- a/tecterm.c +++ b/tecterm.c @@ -1411,7 +1411,7 @@ char *termcap = * NOTE: This clears the ENTIRE screen, but term_clrtobot() * is practically only used after term_goto(0,0), so it will be safe. */ -":cd=\\E[2J:" +":cd=\\E[2J:te=\\E[2J:" /* * Some NANSI.SYS extensions, i.e. not supported by MS-DOS ANSI.SYS. * They are enabled dynamically by overwriting the leading null byte. -- cgit v1.2.3