summaryrefslogtreecommitdiff
path: root/src/term/clear_margins.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-21 21:02:19 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-21 21:02:19 -0500
commit0b7a5126aed5b881ec48a7d82319917dcd74bbbb (patch)
tree10e190e2e14298f8a451c863887bb70a9aecf17a /src/term/clear_margins.c
parenta40bbaf27d592e053789a53740ef0509a77d9246 (diff)
add symbols from <term.h>
Diffstat (limited to 'src/term/clear_margins.c')
-rw-r--r--src/term/clear_margins.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/term/clear_margins.c b/src/term/clear_margins.c
new file mode 100644
index 00000000..9edc2ac1
--- /dev/null
+++ b/src/term/clear_margins.c
@@ -0,0 +1,11 @@
+#include <curses.h>
+
+#define clear_margins tigetstr("mgc")
+
+/** clear all margins (top, bottom, and sides) **/
+
+/*
+TERMINFO_NAME(mgc)
+TERMCAP_NAME(MC)
+XOPEN(400)
+*/