summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/colors.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/colors.h b/include/colors.h
index 3636beb55..d4ae4e407 100644
--- a/include/colors.h
+++ b/include/colors.h
@@ -38,6 +38,9 @@ extern int colors_init(int mode, const char *util_name);
/* Returns 1 or 0 */
extern int colors_wanted(void);
+/* Returns UL_COLORMODE_* */
+extern int colors_mode(void);
+
/* temporary enable/disable colors */
extern void colors_off(void);
extern void colors_on(void);