log: RPC, input, other events

This commit is contained in:
Justin M. Keyes
2018-09-18 23:26:03 +02:00
parent b9bcfa9bc8
commit 7c00b9efca
5 changed files with 13 additions and 0 deletions

View File

@@ -64,6 +64,12 @@ getkey:
may_sync_undo();
}
#if MIN_LOG_LEVEL <= DEBUG_LOG_LEVEL
char *keyname = key == K_EVENT
? "K_EVENT" : (char *)get_special_key_name(key, mod_mask);
DLOG("input: %s", keyname);
#endif
int execute_result = s->execute(s, key);
if (!execute_result) {
break;