Skip to content

Commit

Permalink
Add GLFW_KEY_CIRCUMFLEX to control_codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Luflosi committed Jan 12, 2020
1 parent 8c540d5 commit 74eb523
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions kitty/keys.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions kitty/keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def create_modifier_variants(keycode, terminfo_name_or_bytes, add_shifted_key=Tr
control_codes[defines.GLFW_KEY_4] = (28,)
control_codes[defines.GLFW_KEY_5] = (29,)
control_codes[defines.GLFW_KEY_6] = (30,)
control_codes[defines.GLFW_KEY_CIRCUMFLEX] = (30,)
control_codes[defines.GLFW_KEY_7] = (31,)
control_codes[defines.GLFW_KEY_SLASH] = (31,)
control_codes[defines.GLFW_KEY_8] = (127,)
Expand Down

0 comments on commit 74eb523

Please sign in to comment.