-
-
Notifications
You must be signed in to change notification settings - Fork 987
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
macOS dead key support #465
Comments
Use git bisect to see which commit is causing it. You can narrow down the likely culprits by looking at the history of glfw/cocoa_window.m Most likely it is b59d7dd |
Looking at the code, this is likely because option+n is a dead key (i.e. you press it and then press another key to generate some text). For example on the US keyboard you press option+e and then a letter to generate the letter with an accent. This is not actually supported in glfw (the windowing toolkit kitty uses, see glfw/glfw#41 it's on my TODO list to see if I can hack in support for dead keys on macOS into glfw (like I did for linux), the problem is Apple's text handling API is not very flexible, so trying to map it onto glfw is not easy. |
according to my i have to press the current master - infact makes it impossible for me to use kitty, since i am not able to do a any ideas? - let me know if you'd need some more debug info from me. |
Like I said, you have to wait for me to get around to implementing dead key support in glfw (sadly the maintainers of glfw dont seem to want to fix this anytime soon themselves). I'm surprised to hear that it ever worked in kitty, since glfw has never supported dead keys. If it did work it was accidental (two bugs in glfw canceling each other out). In the meantime you can simply use the send_text feature in kitty.conf to map some keypress to send ~. Note that you wont be able to use a dead key combination such as alt+n instead use something like cmd+n or similar. |
ok so right now, i am going to revert my local version to the e119ed0 which seems to work, as i need a productive env. |
I have implemented dead key support in GLFW. Tested with US and Unicode hex input keyboard layouts. For example, with US layout and macos_option_as_alt=no pressing option+e and then i results in an accented i. |
❤️ ❤️ ❤️ ❤️ |
I'm using a portuguese keyboard in macos, and I'm unable to print a For example, when pressing The key works well in other examples, like pressing When using kitty with the
I can reproduce this with or without a config. I'm unsure if this is an issue or not. Apologies for digging up an old thread, and thanks for your work in advance 🙏 ❤️ |
Try |
I already have that option in my |
That is the same issue as mentioned in #1311, basically when a multi-key |
FYI, the issue I described above is fixed in version |
hello 🤚
again, nice programm! really love it.
with one of the recent commits, havent figured out yet which one.
my terminal is unable (or atleast not reliable) able to produce a
~
with a german-qwertz keyboard.(this used to work a couple of weeks ago, when last pulled the master)
kitty.conf
sample: https://www.youtube.com/watch?v=goJyeonLERQ&feature=youtu.be
i was typing "ALT+N" - the first time it produces a
:
and later repetitions produce the correct~
however once~
appear CTRL+A does not go to beginning of line, but produces a^A
can you help me with this? - right now this is a blocker and forced me to switch back to another terminal.
as for the
:
actually renders my vim unusable.edit: using OSX self-compiled from current
master
The text was updated successfully, but these errors were encountered: