test: highlight the gesture state machine log messages in yellow

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1048>
This commit is contained in:
Peter Hutterer 2024-09-12 14:59:38 +10:00
parent b1b3692e08
commit 721426a1be

View file

@ -702,6 +702,8 @@ litest_log_handler(struct libinput *libinput,
color = ANSI_CYAN;
else if (strstr(format, "edge-scroll:"))
color = ANSI_BRIGHT_GREEN;
else if (strstr(format, "gesture:"))
color = ANSI_BRIGHT_YELLOW;
fprintf(stderr, "%slitest %s ", color, priority);
vfprintf(stderr, format, args);