From 0e448347cdd616090b75d5183cbea36985945b8b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 13 Jan 2020 06:49:55 +0530 Subject: [PATCH] Fix #2279 --- kitty/keys.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kitty/keys.py b/kitty/keys.py index 43df643f3..793bc4381 100644 --- a/kitty/keys.py +++ b/kitty/keys.py @@ -120,10 +120,8 @@ control_codes.update({ for i, k in enumerate(range(defines.GLFW_KEY_A, defines.GLFW_KEY_RIGHT_BRACKET + 1)) }) -control_codes[defines.GLFW_KEY_GRAVE_ACCENT] = (0,) -control_codes[defines.GLFW_KEY_UNDERSCORE] = (0,) -control_codes[defines.GLFW_KEY_SPACE] = (0,) -control_codes[defines.GLFW_KEY_2] = (0,) +control_codes[defines.GLFW_KEY_GRAVE_ACCENT] = control_codes[defines.GLFW_KEY_UNDERSCORE] = \ + control_codes[defines.GLFW_KEY_SPACE] = control_codes[defines.GLFW_KEY_2] = (0,) control_codes[defines.GLFW_KEY_3] = (27,) control_codes[defines.GLFW_KEY_4] = (28,) control_codes[defines.GLFW_KEY_5] = (29,)