aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-27 07:03:32 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-27 07:03:32 +0300
commitd461f4e32d2736fbae6f47d330b94cc4a8846cd1 (patch)
tree74431d82f412b1d3d4af5c9bc83f209e6f0437a5
parentfd12f39ce43fe465dac987f078355c77d1dbbb07 (diff)
downloadvideoteco-fork-d461f4e32d2736fbae6f47d330b94cc4a8846cd1.tar.gz
DOS: clear screen on exit
It would be better to restore the previous screen contents, but that's probably not trivial to implement.
-rw-r--r--tecterm.c2
1 files changed, 1 insertions, 1 deletions
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.