Xithrius / twitch-tui

Twitch chat in the terminal.
https://xithrius.github.io/twitch-tui/
Apache License 2.0
451 stars 32 forks source link

Unable to use the emote picker on macOS. #625

Closed mtane0412 closed 3 months ago

mtane0412 commented 3 months ago

Describe the bug: The Alt + e key implements an emote picker in #506, but there is no Alt key in macOS. The alternative option + e is used as a modifier key for accents. I have tried other modifier keys, but nothing happens.

To Reproduce:

  1. Go to input mode with kitty on macOS
  2. press Option + e
  3. nothing happens. If you type alphabets continuously, they will be entered with accents. (ex. é )

Expected behavior: emote picker opens

Screenshots:

System:

Additional context: I use M2 Macbook Air and US Keyboard, Japanese Input System.

kovidgoyal commented 3 months ago

https://sw.kovidgoyal.net/kitty/conf/#opt-kitty.macos_option_as_alt

mtane0412 commented 3 months ago

@kovidgoyal That was exactly the solution! Thanks, my problem is solved.

Xithrius commented 3 months ago

I'll be sure to add this in the documentation, just in case it happens to other users.