Verified with fresh 3.0.0, but it's been here for a while — since some previous release.
It's typical for terminal emulators to allow user to bypass mouse awareness of an app with using modifier when selecting text, typically it's Alt (iTerm2 does so), or Shift (most of Linux terminals do). MacOS native Terminal provides a shortcut to turn on/off mouse bypass (Cmd_R, IIRC).
How to check: running tmux
probably is the most simple way. Trying to select text there would be handled by tmux
itself, not by Hyper.
I had this issue and it seems you can fix it by adding this to your .hyper.js
:
macOptionSelectionMode: 'force',
This forces the terminal to select the text when using ALT, and that works on tmux. But be aware you'll lose the ability to select text vertically (provided with the default macOptionSelectionMode: 'vertical'
. Worth it in my opinion, as I never use that.
Most helpful comment
I had this issue and it seems you can fix it by adding this to your
.hyper.js
:This forces the terminal to select the text when using ALT, and that works on tmux. But be aware you'll lose the ability to select text vertically (provided with the default
macOptionSelectionMode: 'vertical'
. Worth it in my opinion, as I never use that.