diff options
Diffstat (limited to 'key-string.c')
-rw-r--r-- | key-string.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/key-string.c b/key-string.c index ea51ab26..e2224d18 100644 --- a/key-string.c +++ b/key-string.c @@ -188,6 +188,10 @@ key_string_lookup_key(int key) *out = '\0'; + /* Handle no key. */ + if (key == KEYC_NONE) + return ("none"); + /* * Special case: display C-@ as C-Space. Could do this below in * the (key >= 0 && key <= 32), but this way we let it be found |