aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-05-16 20:50:50 +1200
committerDavid Phillips <david@sighup.nz>2018-05-16 20:50:50 +1200
commit9f38ea70d0f101c29e78f6edf6034ed08e590a4a (patch)
tree756fcd60aaae9ea08ff61a6d6856aa1855ec0b95
parent2b550bf4c3d05ff91f9d5adcf11543a0ae907161 (diff)
downloadsand-leek-9f38ea70d0f101c29e78f6edf6034ed08e590a4a.tar.xz
Remove need to clear
-rw-r--r--colour.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/colour.h b/colour.h
index c1723c5..6ae1438 100644
--- a/colour.h
+++ b/colour.h
@@ -1,8 +1,6 @@
#ifndef SAND_LEEK_COLOUR_H
#define SAND_LEEK_COLOUR_H
-#ifndef SAND_LEEK_DISABLE_COLOUR
-
#define ANSI_ESC "\x1b["
#define COLOUR_BLACK ANSI_ESC"30m"
#define COLOUR_RED ANSI_ESC"31m"
@@ -30,35 +28,4 @@
#define COLOUR_ERASE ANSI_ESC"2K"
-#else /* ifndef SAND_LEEK_DISABLE_COLOUR */
-
-#define ANSI_ESC ""
-#define COLOUR_BLACK ""
-#define COLOUR_RED ""
-#define COLOUR_GREEN ""
-#define COLOUR_YELLOW ""
-#define COLOUR_BLUE ""
-#define COLOUR_MAGENTA ""
-#define COLOUR_CYAN ""
-#define COLOUR_WHITE ""
-
-#define COLOUR_BBLACK ""
-#define COLOUR_BRED ""
-#define COLOUR_BGREEN ""
-#define COLOUR_BYELLOW ""
-#define COLOUR_BBLUE ""
-#define COLOUR_BMAGENTA ""
-#define COLOUR_BCYAN ""
-#define COLOUR_BWHITE ""
-
-#define COLOUR_BOLD ""
-#define COLOUR_BOLD_OFF ""
-
-#define COLOUR_OFF ""
-#define COLOUR_ALL_OFF ""
-
-#define COLOUR_ERASE ""
-
-#endif /* ifndef SAND_LEEK_DISABLE_COLOUR */
-
#endif /* #ifndef SAND_LEEK_COLOUR_H */