More removal of GLFW_KEY_ constants

This commit is contained in:
Kovid Goyal
2021-01-12 07:46:21 +05:30
parent 774a6c8c8b
commit 1690718710
11 changed files with 186 additions and 551 deletions

View File

@@ -180,7 +180,7 @@ def generate_glfw_header() -> None:
lines.append('} GLFWFunctionKey;')
patch_file('glfw/glfw3.h', 'functional key names', '\n'.join(lines))
patch_file('kitty/glfw.c', 'glfw functional keys', '\n'.join(klines))
patch_file('kitty/fast_data_types.pyi', 'glfw functional keys', '\n'.join(klines), start_marker='# ', end_marker='')
patch_file('kitty/fast_data_types.pyi', 'glfw functional keys', '\n'.join(pyi), start_marker='# ', end_marker='')
patch_file('glfw/input.c', 'functional key names', '\n'.join(names))