-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
CTRL key not working, when using alternative layout like workman #7888
Comments
Your system is sending text to kitty when you press ctrl+c, as shown by |
Hmm, I see. I do use an alternative keyboard, more specifically the workman layout. Is there a way I can make the ctrl key send the right key according to my layout or supporting alternative layout not supported yet? I see #2000 and #606, but other than using a python script to generate my keyboard layout in kitty config, there's nothing else. Also those python scripts use xkb, which doesn't exist on macOS. I can see that vim do recieve the wrong letter as soon as I use modifiers, and in a SSH session, the ctrl modifier seem to simply not work. |
alternative layouts that work correctly are supported fine. For example, |
I see it works with dvorak, but completely breaks with workman. I use the latest workman layout from this repo: https://github.com/workman-layout/Workman Is there a workaround I could apply, a fix on the layout itself or a config for kitty to support alternative layout other than dvorak? |
there is no workaround in kitty for a keyboard layout that thinks ctrl+c should generate text. It needs to be fixed in the layout. |
I haven't had any problem with the terminal app from macos, iterm2, alacritty and a few others. I'm suspecting GLFW to not support workman layout properly or something like that. Kitty is the only one using GLFW, and I've had similar problems with GLFW based games. Sure it may be a problem with the implementation of workman, but kitty is the only app that has been problematic for me. |
So you are saying that because there's a bug in your keyboard layout and bugs in some other applications that happen to cancel that bug I should also introduce the bug into my software. I dont think so. If a keystroke produces text then kitty is going to assume that the keystroke is supposed to produce text and therefore produce text. That allows actual non-broken keyboard layouts to produce text when it is appropriate to do so and not have application software arbitrarily override them. |
Describe the bug
The CTRL key does not seem to be working. vim and tmux hotkeys are not triggered, and ctrl+c enters the text
c
instead of killing the process. The CTRL key works in other terminal appsTo Reproduce
Steps to reproduce the behavior:
c
being entered.Environment details
Input (Excluding mouse move):
Additional context
Happens with
--config NONE
tooThe text was updated successfully, but these errors were encountered: