summaryrefslogtreecommitdiff
path: root/term/exit_ca_mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'term/exit_ca_mode.c')
-rw-r--r--term/exit_ca_mode.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/term/exit_ca_mode.c b/term/exit_ca_mode.c
new file mode 100644
index 0000000..4a32dcf
--- /dev/null
+++ b/term/exit_ca_mode.c
@@ -0,0 +1,11 @@
+#include <term.h>
+
+#define exit_ca_mode tigetstr("rmcup")
+
+/** string to end programs that use TERMCAP(cup) **/
+
+/*
+TERMINFO_NAME(rmcup)
+TERMCAP_NAME(te)
+XOPEN(400)
+*/