raphamorim / rio

A hardware-accelerated GPU terminal emulator focusing to run in desktops and browsers.
https://raphamorim.io/rio
MIT License
4.05k stars 133 forks source link

Not possible to use Opt+<key> when using Tmux #791

Closed pedronauck closed 1 week ago

pedronauck commented 1 week ago

I used to have several shortcuts on my Tmux mapped using the option on MacOS, but for some reason, when I try to use all of them on Rio, they don't work. I have tried this behavior on other terminals, like Wezterm or iTerm2, but seems to work fine there 😢 Rio is the only one blocking me from using the option key as a shortcut trigger.

CleanShot 2024-11-15 at 09 21 32

👆🏻 This is the char triggered when I try to do opt+1 (that I'm using to navigate through tmux tabs)

MirniWantsSweets commented 1 week ago

hello! If I'm not mistaken you have to put the following line in your config.toml: option-as-alt = 'left' This will make tmux recieve opt as Meta.

raphamorim commented 1 week ago

Hey @pedronauck thanks for the issue!

Yes, could you try with what @MirniWantsSweets suggested (thank you btw)

pedronauck commented 1 week ago

Nice, fixed 😍 thanks @MirniWantsSweets 🙏🏻

raphamorim commented 1 week ago

<3 let's goooo