chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
terminal: handle callback errors in sysview instead of propagating them
[elogind.git]
/
src
/
libsystemd-terminal
/
evcat.c
diff --git
a/src/libsystemd-terminal/evcat.c
b/src/libsystemd-terminal/evcat.c
index 8c27fb2c546ac02797020d00e5cdedc71325c5d4..b3f08e60bf8614819bc467637a035aea008145a8 100644
(file)
--- 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);