From b8731ebcf2d825fd64ad772c1e5b5bb154ab0255 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 13 Aug 2014 10:09:08 +0200 Subject: lib/colors: add function to return color from scheme Signed-off-by: Karel Zak --- include/colors.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/colors.h') diff --git a/include/colors.h b/include/colors.h index e8ab3951a..97efc486a 100644 --- a/include/colors.h +++ b/include/colors.h @@ -65,7 +65,9 @@ extern void colors_on(void); /* Set the color */ extern void color_fenable(const char *seq, FILE *f); + extern void color_scheme_fenable(const char *name, const char *dflt, FILE *f); +extern const char *color_scheme_get_sequence(const char *name, const char *dflt); static inline void color_enable(const char *seq) { -- cgit v1.2.3-55-g7522