Most terminal clients allow you to invert the shift- toggle behaviour, so if you prefer the mouse events to go to the underlying terminal most of the time, and only use shift-click when switching tabs, then that might work well for you.
In putty it's under PuTTY Configuration -> Window -> Selection -> Shift overrides application's use of mouse. In mintty it's Options -> Mouse -> Application Mouse Mode -> Default click target / Modifier for overriding default. On Tue, 8 Dec 2020 at 02:01, Konomi <[email protected]> wrote: > Sigh sorry and that's disappointing I'll have to think of some other > way to handle this. Thanks for your time. > > On Tue, 8 Dec 2020 at 01:53, Nicholas Marriott > <[email protected]> wrote: > > > > Read the second paragraph. > > > > > > > > On Mon, 7 Dec 2020 at 14:51, Konomi <[email protected]> wrote: > >> > >> I did read the link you sent. I don't see how that helps telling tmux > >> to send the mouse event to the underlying terminal? > >> > >> On Tue, 8 Dec 2020 at 01:50, Nicholas Marriott > >> <[email protected]> wrote: > >> > > >> > Read the link I sent. > >> > > >> > > >> > > >> > On Mon, 7 Dec 2020 at 14:49, Konomi <[email protected]> wrote: > >> >> > >> >> I tried doing `unbind -n MouseDrag1Pane` and that stops dragging to > select in tmux but it also prevents the underlying terminal getting the > MouseDrag event as well. How do I make sure it sends it through to the > underlying terminal? > >> >> > >> >> On Tuesday, 8 December 2020 at 12:09:21 am UTC+11 > [email protected] wrote: > >> >>> > >> >>> Yes, unbind the key bindings, like MouseDrag1Pane. > >> >>> > >> >>> Also see > https://github.com/tmux/tmux/wiki/FAQ#i-want-to-use-the-mouse-to-select-panes-but-the-terminal-to-copy-how > >> >>> > >> >>> > >> >>> On Mon, 7 Dec 2020 at 13:07, Konomi <[email protected]> wrote: > >> >>>> > >> >>>> Is it possible to `set -g mouse on` but then unbind the copy and > paste functions? I'd really like to just to be able to switch tabs with the > mouse and nothing else. Thanks in advance. > >> >>>> > >> >>>> -- > >> >>>> You received this message because you are subscribed to the Google > Groups "tmux-users" group. > >> >>>> To unsubscribe from this group and stop receiving emails from it, > send an email to [email protected]. > >> >>>> To view this discussion on the web, visit > https://groups.google.com/d/msgid/tmux-users/965af321-fdfc-4531-b860-85c026405918n%40googlegroups.com > . > >> >> > >> >> -- > >> >> You received this message because you are subscribed to the Google > Groups "tmux-users" group. > >> >> To unsubscribe from this group and stop receiving emails from it, > send an email to [email protected]. > >> >> To view this discussion on the web, visit > https://groups.google.com/d/msgid/tmux-users/b41c6dc9-b35b-4747-a0e9-bf481206b200n%40googlegroups.com > . > > -- > You received this message because you are subscribed to the Google Groups > "tmux-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/tmux-users/CAH-77RKQkJ1Pw-cjQqopytB2YYcO8TdE%3D99Sg%2BjwPkxBo51m8w%40mail.gmail.com > . > -- You received this message because you are subscribed to the Google Groups "tmux-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web, visit https://groups.google.com/d/msgid/tmux-users/CAAqsAtQtiC_5qgN6eXerseHvmATX4yv_nZ%2Bviw30eGJzWUUTkA%40mail.gmail.com.
