summaryrefslogtreecommitdiff
path: root/term/restore_cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'term/restore_cursor.c')
-rw-r--r--term/restore_cursor.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/term/restore_cursor.c b/term/restore_cursor.c
new file mode 100644
index 0000000..caa52f1
--- /dev/null
+++ b/term/restore_cursor.c
@@ -0,0 +1,11 @@
+#include <term.h>
+
+#define restore_cursor tigetstr("rc")
+
+/** restore cursor to position of last sc **/
+
+/*
+TERMINFO_NAME(rc)
+TERMCAP_NAME(rc)
+XOPEN(400)
+*/