Closed thedrint closed 1 year ago
Well, yes, you are not pressing ctrl+shift+q you are pressing ctrl+shift+Й
If you want this key press to quit kitty add the appropriate mapping to kitty.conf
map ctrl+shift+Й whatever
kitty only matches shortcuts based on what the key means in the current keyboard layout.
map kitty_mod+q close_tab
map kitty_mod+й close_tab
Thank you for advice, it really works when i duplicate in kitty conf mappings with non-latin letters:
Well, yes, you are not pressing ctrl+shift+q you are pressing ctrl+shift+Й
If you want this key press to quit kitty add the appropriate mapping to kitty.conf
map ctrl+shift+Й whatever
kitty only matches shortcuts based on what the key means in the current keyboard layout.
Is there any hack/rule/option/setting to avoid kitty receive those long sequences like 81;6u
when pressing combo with non-latin keys? Or I must to add all possible map variants to kitty.conf with no_op
?
No I'm afraid there is no hack for it. You would need to map any problematic key preses to no-op in kitty.conf individually.
Here is mine solution. Actually, the idea is the same to map each shortcut for the non-Latin character, but I made automated script to do that.
https://jakeroid.com/blog/kitty-shortcuts-work-only-with-latin-characters-how-to-fix
Describe the bug When i press
Ctrl+Shift+Й
(it's C-s-q in russian layout) - Kitty doesn't close tab, but sends sequence of symbols.To Reproduce Steps to reproduce the behavior:
kitty --debug-input --config /dev/null
81;6u
Screenshots English layout while run test
Then russian layout:
Last two strings - I closed kitty window with Alt+F4 Environment details
Additional context I've using CAPSLOCK as layout switcher.