summaryrefslogtreecommitdiff
path: root/colors.h
diff options
context:
space:
mode:
Diffstat (limited to 'colors.h')
-rw-r--r--colors.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/colors.h b/colors.h
index ee4cd12..0236d35 100644
--- a/colors.h
+++ b/colors.h
@@ -23,4 +23,8 @@
#define __on_cyan "46"
#define __on_white "47"
+#define colorize_start(fore) "\033[" __##fore "m"
+#define colorize_start_full(fore, back) "\033[" __##fore ";" __on_##back "m"
+#define colorize_end() "\033[" __reset "m"
+
#endif /* COLORS_H */