From 05227e7dfbdb8458fa14e2a8e9a171a12348072b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 30 Jun 2018 18:42:19 +0530 Subject: [PATCH] Fix --debug-config failing when native keys present --- kitty/cli.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kitty/cli.py b/kitty/cli.py index c9b57e683..f67d5b0b1 100644 --- a/kitty/cli.py +++ b/kitty/cli.py @@ -629,7 +629,10 @@ def print_shortcut(key_sequence, action): if mods & val: names.append(name) if key: - names.append(krmap[key]) + if is_native: + names.append(''.format(key)) + else: + names.append(krmap[key]) keys.append('+'.join(names)) print('\t', ' > '.join(keys), action)