summaryrefslogtreecommitdiff
path: root/term/max_colors.c
diff options
context:
space:
mode:
Diffstat (limited to 'term/max_colors.c')
-rw-r--r--term/max_colors.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/term/max_colors.c b/term/max_colors.c
new file mode 100644
index 0000000..b2c5a74
--- /dev/null
+++ b/term/max_colors.c
@@ -0,0 +1,11 @@
+#include <term.h>
+
+#define max_colors tigetnum("colors")
+
+/** maximum numbe of colors on the screen **/
+
+/*
+TERMINFO_NAME(colors)
+TERMCAP_NAME(Co)
+XOPEN(400)
+*/