Kitty: Can't enter a tilde character

Created on 6 Sep 2018  Â·  8Comments  Â·  Source: kovidgoyal/kitty

Expected Behavior

Entering text works.

Actual Behavior

On my Mac, I enter ~ by pressing Alt+N. This doesn't work in Kitty. Same goes for all other characters that require Alt as a modifier key, like €, ™, é, ´ etc.

I am using the "U.S. International - PC" layout as this provides me the option to enter characters like ä by entering " followed by an a for instance. (" is " and then space). Maybe this is some weird IME issue?

Steps to Reproduce

  1. Switch to "U.S. International - PC" on a Mac
  2. Press Alt+N in the GitHub comment box to verify you get a ~ character.
  3. Press Alt+N inside Kitty

Most helpful comment

IMHO macos_option_as_alt no should be the default since macOS users new to kitty seem to get confused quite often when their alt key does not work like pretty much everywhere else.

All 8 comments

Set macos_option_as_alt=no in your kitty.conf to use alt as a compose key.

Sorry make that

macos_option_as_alt no

in kitty.conf

IMHO macos_option_as_alt no should be the default since macOS users new to kitty seem to get confused quite often when their alt key does not work like pretty much everywhere else.

It used to be the default then users would get confused because alt based shortcuts would not work in their terminal applications. There's no really good solution for this.

I think that it should be the default too, I'm new to kitty, I tried kitty few days ago and I stopped using it because my option key wouldn't work and I had no idea why.... Maybe the user should be prompted upon first launch if he wants this or not ?

Dunno, in my experience popus on first run are usually ignored because the user is focused on getting to the app.

Alt-Shortcuts (or at least the subset I am used to) are working without additional configuration in Terminal.app -- as well as the unicode input mode.

Seems like there is some middle ground?

I dont see how that's possible. In terminal.app run cat and type option+a you will either get a with a little circle on top or ^]a (which is alt+a) depending on the value of the setting "Use Option as meta key" in the terminal.app preferences under keyboard

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lazarcf picture lazarcf  Â·  4Comments

Askannz picture Askannz  Â·  3Comments

reed-jones picture reed-jones  Â·  4Comments

skosch picture skosch  Â·  3Comments

RedBeard0531 picture RedBeard0531  Â·  4Comments