summaryrefslogtreecommitdiff
path: root/src/libinput-util.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-03-28 11:31:16 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-03-28 18:56:38 +1000
commit0bd36f25422a0a40d1eeededabfe9f434e164c06 (patch)
treee50a16b5412efcd32a9ba90d4ec7d530a35407d3 /src/libinput-util.h
parent937541cb82bb7e9fb22c30cab3d402482e8909ac (diff)
test: add color to litest verbose output
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/libinput-util.h')
-rw-r--r--src/libinput-util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libinput-util.h b/src/libinput-util.h
index d86ff12..73af689 100644
--- a/src/libinput-util.h
+++ b/src/libinput-util.h
@@ -53,6 +53,10 @@
/* The HW DPI rate we normalize to before calculating pointer acceleration */
#define DEFAULT_MOUSE_DPI 1000
+#define ANSI_HIGHLIGHT "\x1B[0;1;39m"
+#define ANSI_RED "\x1B[0;31m"
+#define ANSI_NORMAL "\x1B[0m"
+
#define CASE_RETURN_STRING(a) case a: return #a
/*