summaryrefslogtreecommitdiff
path: root/src/term/max_pairs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term/max_pairs.c')
-rw-r--r--src/term/max_pairs.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/term/max_pairs.c b/src/term/max_pairs.c
new file mode 100644
index 00000000..45f4bff3
--- /dev/null
+++ b/src/term/max_pairs.c
@@ -0,0 +1,11 @@
+#include <curses.h>
+
+#define max_pairs tigetnum("pairs")
+
+/** maximum number of color pairs on the screen **/
+
+/*
+TERMINFO_NAME(pairs)
+TERMCAP_NAME(pa)
+XOPEN(400)
+*/