rpwoodbu / mosh-chrome

Mosh for Chrome
GNU General Public License v3.0
372 stars 59 forks source link

Mosh eats Alt+[ , Alt+], and Alt++ on ChromeOS #144

Open bcspragu opened 7 years ago

bcspragu commented 7 years ago

I use a lot of ChromeOS keyboard shortcuts, like Alt+{1-9} for switching/opening apps, and Alt+[, Alt+], Alt++ for window management. With the "pass-alt-number" preference set to "true", I can use Alt+{1-9} while in Mosh to switch applications, but there's no equivalent option (as far as I can tell) for the other combinations I've mentioned.

bcspragu commented 7 years ago

I found the solution in this Google Groups thread. What worked for me was setting alt-sends-what to browser-key, and setting my keybindings to {"Alt-+":"PASS","Alt-45":"PASS","Alt-[":"PASS","Alt-]":"PASS"}

rpwoodbu commented 7 years ago

I'm glad you found the solution. I thought I'd documented that in the FAQ, but it appears I haven't. I'll keep this open to remind me to do that.

vapier commented 7 years ago

fwiw, there's this doc: https://chromium.googlesource.com/apps/libapps/+/master/hterm/doc/KeyboardBindings.md