summaryrefslogtreecommitdiff
path: root/term/print_screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'term/print_screen.h')
-rw-r--r--term/print_screen.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/term/print_screen.h b/term/print_screen.h
new file mode 100644
index 0000000..1f5b236
--- /dev/null
+++ b/term/print_screen.h
@@ -0,0 +1,11 @@
+#include <term.h>
+
+#define print_screen tigetstr("mc0")
+
+/** print contents of the screen **/
+
+/*
+TERMINFO_NAME(mc0)
+TERMCAP_NAME(ps)
+XOPEN(400)
+*/