summaryrefslogtreecommitdiff
path: root/term/set_bottom_margin_parm.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2022-04-13 19:51:54 -0400
committerJakob Kaivo <jkk@ung.org>2022-04-13 19:51:54 -0400
commitfa799768c4f6d97c5f60a37829ad1b457b7c0096 (patch)
treeed28b64735a6a79b10ecf1a87296f36e88745f4e /term/set_bottom_margin_parm.c
separate from libc
Diffstat (limited to 'term/set_bottom_margin_parm.c')
-rw-r--r--term/set_bottom_margin_parm.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/term/set_bottom_margin_parm.c b/term/set_bottom_margin_parm.c
new file mode 100644
index 0000000..8c8f0c6
--- /dev/null
+++ b/term/set_bottom_margin_parm.c
@@ -0,0 +1,11 @@
+#include <term.h>
+
+#define set_bottom_margin_parm tigetstr("smgbp")
+
+/** set bototm margin at line #1 or #2 lines from bottom **/
+
+/*
+TERMINFO_NAME(smgbp)
+TERMCAP_NAME(Zl)
+XOPEN(400)
+*/