Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: send correct codes with del and esc #5025

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gessen
Copy link

@gessen gessen commented Feb 17, 2024

With kitty keyboard protocol enabled, both DEL and ESC key sends legacy keys - DEL sends ^H and ESC sends ^[. To be in line with kitty keyboard protocol, they should send CSI 3 ~ and CSI 27 u respectively based on the https://sw.kovidgoyal.net/kitty/keyboard-protocol/#functional-key-definitions.

Fixes #4785

With kitty keyboard protocol enabled, both DEL and ESC key sends legacy
keys - DEL sends ^H and ESC sends ^[. To be in line with kitty keyboard
protocol, they should send "CSI 3 ~" and "CSI 27 u" respectively.
@SecretPocketCat
Copy link

SecretPocketCat commented Mar 18, 2024

Running a local compile using this right now and would love to see it merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wezterm may send different keys than kitty with kitty protocol enabled
2 participants