From d01f1d01e3c569aa91c5231690d7fd4847e4ccf6 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 13 Apr 2022 20:59:15 -0400 Subject: no need to compile #defines --- term/max_colors.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 term/max_colors.h (limited to 'term/max_colors.h') diff --git a/term/max_colors.h b/term/max_colors.h new file mode 100644 index 0000000..b2c5a74 --- /dev/null +++ b/term/max_colors.h @@ -0,0 +1,11 @@ +#include + +#define max_colors tigetnum("colors") + +/** maximum numbe of colors on the screen **/ + +/* +TERMINFO_NAME(colors) +TERMCAP_NAME(Co) +XOPEN(400) +*/ -- cgit v1.2.1