summaryrefslogtreecommitdiff
path: root/src/term/lines_of_memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term/lines_of_memory.c')
-rw-r--r--src/term/lines_of_memory.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/term/lines_of_memory.c b/src/term/lines_of_memory.c
new file mode 100644
index 00000000..c06cd316
--- /dev/null
+++ b/src/term/lines_of_memory.c
@@ -0,0 +1,11 @@
+#include <curses.h>
+
+#define lines_of_memory tigetnum("lm")
+
+/** lines of memory if > TERMCAP(lines); 0 = varies **/
+
+/*
+TERMINFO_NAME(lm)
+TERMCAP_NAME(lm)
+XOPEN(400)
+*/