diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-09-18 23:26:03 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2018-09-19 01:11:09 +0200 |
commit | 7c00b9efcafa9046f8226ce4650f1b9ad67243c9 (patch) | |
tree | 86725e120b2e906a0c4a64b2a2a7bf2c26a7666f /src/nvim/state.c | |
parent | b9bcfa9bc817aac07da266e12afb335f0b2b1737 (diff) | |
download | rneovim-7c00b9efcafa9046f8226ce4650f1b9ad67243c9.tar.gz rneovim-7c00b9efcafa9046f8226ce4650f1b9ad67243c9.tar.bz2 rneovim-7c00b9efcafa9046f8226ce4650f1b9ad67243c9.zip |
log: RPC, input, other events
Diffstat (limited to 'src/nvim/state.c')
-rw-r--r-- | src/nvim/state.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/state.c b/src/nvim/state.c index 5921bd45bf..d75f4038ae 100644 --- a/src/nvim/state.c +++ b/src/nvim/state.c @@ -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; |