summaryrefslogtreecommitdiff
path: root/src/libsystemd-terminal/evcat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-terminal/evcat.c')
-rw-r--r--src/libsystemd-terminal/evcat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libsystemd-terminal/evcat.c b/src/libsystemd-terminal/evcat.c
index 8c27fb2c54..b3f08e60bf 100644
--- a/src/libsystemd-terminal/evcat.c
+++ b/src/libsystemd-terminal/evcat.c
@@ -203,6 +203,9 @@ static void kdata_print(idev_data *data) {
k->value == 1 ? "DOWN" :
"REPEAT");
+ /* Resync state */
+ printf(" | %-6s", data->resync ? "RESYNC" : "");
+
/* Keycode that triggered the event */
printf(" | %5u", (unsigned)k->keycode);