summaryrefslogtreecommitdiff
path: root/src/term/set_tb_margin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term/set_tb_margin.c')
-rw-r--r--src/term/set_tb_margin.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/term/set_tb_margin.c b/src/term/set_tb_margin.c
new file mode 100644
index 00000000..ee6aeb01
--- /dev/null
+++ b/src/term/set_tb_margin.c
@@ -0,0 +1,11 @@
+#include <curses.h>
+
+#define set_tb_margin tigetstr("smgtb")
+
+/** sets both top and bottom margins **/
+
+/*
+TERMINFO_NAME(smgtb)
+TERMCAP_NAME(MT)
+XOPEN(400)
+*/