diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-05 23:46:21 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-05 23:46:21 +0300 |
commit | bf8acce375a7387f6e4f6a01ee806459ddf52636 (patch) | |
tree | eddfd2f793c1061ee8ad2e9b78d90aa0844dbe39 | |
parent | affee01c15193581eb2d6c80a045071b90e00ec7 (diff) | |
download | videoteco-fork-bf8acce375a7387f6e4f6a01ee806459ddf52636.tar.gz |
terminfo: use the enter_ca_mode/exit_ca_mode capabilities to restore the screen at exit
termcap was already doing it.
Perhaps termcap is meant to be the main Video TECO interface?
-rw-r--r-- | tecterm.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -173,6 +173,8 @@ term_init() terminfo_magic_cookie_glitch = magic_cookie_glitch > 0 ? magic_cookie_glitch : 0; + tputs(enter_ca_mode,1,term_putc); + #endif }/* End Routine */ @@ -205,6 +207,12 @@ term_finish() #endif +#ifdef TERMINFO + + tputs(exit_ca_mode,1,term_putc); + +#endif + /* * Now flush that all out */ |