summaryrefslogtreecommitdiffstats
path: root/include/color-names.h
diff options
context:
space:
mode:
authorKarel Zak2016-02-17 12:17:23 +0100
committerKarel Zak2016-02-17 12:51:15 +0100
commit4683cf3673f15e0136129427d4a170f98fdd9da7 (patch)
tree225ddf573547c3e02249a83ce73c56057ef7efc5 /include/color-names.h
parenthwclock.c, hwclock.8.in: new --show format (diff)
downloadkernel-qcow2-util-linux-4683cf3673f15e0136129427d4a170f98fdd9da7.tar.gz
kernel-qcow2-util-linux-4683cf3673f15e0136129427d4a170f98fdd9da7.tar.xz
kernel-qcow2-util-linux-4683cf3673f15e0136129427d4a170f98fdd9da7.zip
lib/color: add more ESC seq.
Signed-off-by: Karel Zak <kzak@redhat.com>
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 */