aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/keycodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/keycodes.c')
-rw-r--r--src/nvim/keycodes.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/nvim/keycodes.c b/src/nvim/keycodes.c
index 404087fec3..a3edd1465a 100644
--- a/src/nvim/keycodes.c
+++ b/src/nvim/keycodes.c
@@ -1095,15 +1095,3 @@ void vim_unescape_ks(char *p)
}
*d = NUL;
}
-
-/// Logs a single key as a human-readable keycode.
-void log_key(int log_level, int key)
-{
- if (log_level < MIN_LOG_LEVEL) {
- return;
- }
- char *keyname = key == K_EVENT
- ? "K_EVENT"
- : (char *)get_special_key_name(key, mod_mask);
- LOG(log_level, "input: %s", keyname);
-}