summaryrefslogtreecommitdiffstats
path: root/include/color-names.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/color-names.h')
-rw-r--r--include/color-names.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/color-names.h b/include/color-names.h
index f04bc2ee2..f21a0ee1b 100644
--- a/include/color-names.h
+++ b/include/color-names.h
@@ -35,6 +35,10 @@
#define UL_COLOR_WHITE "\033[1;37m"
+
+/* maximal lenght of human readable name of ESC seq. */
+#define UL_COLORNAME_MAXSZ 32
+
extern const char *color_sequence_from_colorname(const char *str);
#endif /* UTIL_LINUX_COLOR_NAMES_H */