summaryrefslogtreecommitdiff
path: root/src/term/semi_auto_right_margin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term/semi_auto_right_margin.c')
-rw-r--r--src/term/semi_auto_right_margin.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/term/semi_auto_right_margin.c b/src/term/semi_auto_right_margin.c
new file mode 100644
index 00000000..3569aafb
--- /dev/null
+++ b/src/term/semi_auto_right_margin.c
@@ -0,0 +1,11 @@
+#include <curses.h>
+
+#define semi_auto_right_margin tigetflag("sam")
+
+/** printing in last column causes TERMCAP(cr) **/
+
+/*
+TERMINFO_NAME(sam)
+TERMCAP_NAME(YE)
+XOPEN(400)
+*/