diff options
Diffstat (limited to 'include/colors.h')
-rw-r--r-- | include/colors.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/colors.h b/include/colors.h index 42881d5e3..392bf38f1 100644 --- a/include/colors.h +++ b/include/colors.h @@ -57,6 +57,11 @@ extern int colors_init(int mode, const char *util_name); /* Returns 1 or 0 */ extern int colors_wanted(void); +/* temporary enable/disable colors */ +extern void colors_off(void); +extern void colors_on(void); + + /* Set the color to CLR_SCHEME */ extern void color_fenable(const char *clr_scheme, FILE *f); @@ -73,6 +78,7 @@ static inline void color_disable(void) color_fdisable(stdout); } + extern const char *colorscheme_from_string(const char *str); |