mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-03-22 04:30:41 +01:00
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:
parent
b1b3692e08
commit
721426a1be
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue