aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.hh
diff options
context:
space:
mode:
authorBen Burdette <bburdette@gmail.com>2020-03-27 10:55:09 -0600
committerBen Burdette <bburdette@gmail.com>2020-03-27 10:55:09 -0600
commit759f39800bb80eaa297ea2532b1640959487ed9c (patch)
tree40843336cd4ca3cc39f05dfb6c0ef750fac6e930 /src/libutil/util.hh
parent00eb3fcb7a19a38d5ca94f4dcbda149f16e73a6e (diff)
remove util.hh from deps
Diffstat (limited to 'src/libutil/util.hh')
-rw-r--r--src/libutil/util.hh10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/libutil/util.hh b/src/libutil/util.hh
index 3bfebcd15..d69e29158 100644
--- a/src/libutil/util.hh
+++ b/src/libutil/util.hh
@@ -2,6 +2,7 @@
#include "types.hh"
#include "logging.hh"
+#include "ansicolor.hh"
#include <sys/types.h>
#include <sys/stat.h>
@@ -423,15 +424,6 @@ std::string shellEscape(const std::string & s);
void ignoreException();
-/* Some ANSI escape sequences. */
-#define ANSI_NORMAL "\e[0m"
-#define ANSI_BOLD "\e[1m"
-#define ANSI_FAINT "\e[2m"
-#define ANSI_RED "\e[31;1m"
-#define ANSI_GREEN "\e[32;1m"
-#define ANSI_YELLOW "\e[33;1m"
-#define ANSI_BLUE "\e[34;1m"
-
/* Truncate a string to 'width' printable characters. If 'filterAll'
is true, all ANSI escape sequences are filtered out. Otherwise,