From fa799768c4f6d97c5f60a37829ad1b457b7c0096 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 13 Apr 2022 19:51:54 -0400 Subject: separate from libc --- term/max_colors.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 term/max_colors.c (limited to 'term/max_colors.c') 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 + +#define max_colors tigetnum("colors") + +/** maximum numbe of colors on the screen **/ + +/* +TERMINFO_NAME(colors) +TERMCAP_NAME(Co) +XOPEN(400) +*/ -- cgit v1.2.1