You have to use tmux's mouse support if you want it to be properly aware of panes. That means to get it back to the system clipboard you will need a terminal that supports OSC 52 and to configure tmux to use it.
Or some terminals do allow rectangular selections, if yours does then you could try that. On Wed, 13 Jan 2021 at 04:10, Jon Forrest <[email protected]> wrote: > I log into a Windows 10 machine, and from there ssh to a Fedora 33 box > that's running tmux 3.1c. I create a new pane with tmux so I see > two tmux panes side to side in one window. > > I want to select some lines from one of the panes by using the > Windows text select method. The problem is that Windows selects > the text on the same line from *both* panes. > > I was trying to use tmux to avoid having to use the mouse to switch > between ssh sessions. Using two Windows ssh logins would obviously solve > the copy problem, but wouldn't be as efficient as using tmux. > > The only way I can see to solve this is to use the new Windows terminal > to create the panes. It's able to do text selections in one pane only. > > This is clearly not a tmux bug but I wonder how people work around > this. > > Cordially, > Jon Forrest > > -- > 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/rtlrh1%2413et%241%40ciao.gmane.io > . > -- 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/CAEdLfcG3zvwRas_3nC07W-pz8gC_9f5qv5Ajt%2B69wHF6hohXeQ%40mail.gmail.com.
