summaryrefslogtreecommitdiff
path: root/term/columns.c
diff options
context:
space:
mode:
Diffstat (limited to 'term/columns.c')
-rw-r--r--term/columns.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/term/columns.c b/term/columns.c
new file mode 100644
index 0000000..f693eb4
--- /dev/null
+++ b/term/columns.c
@@ -0,0 +1,11 @@
+#include <term.h>
+
+#define columns tigetnum("cols")
+
+/** number of columns in a line **/
+
+/*
+TERMINFO_NAME(cols)
+TERMCAP_NAME(co)
+XOPEN(400)
+*/