Comment by post-it
1 day ago
I appreciate that tmux has theoretical advantages over screen, but man does the implementation suck. On Mac it still seems like there's no way to copy text if you have mouse mode on (at least in code-server).
1 day ago
I appreciate that tmux has theoretical advantages over screen, but man does the implementation suck. On Mac it still seems like there's no way to copy text if you have mouse mode on (at least in code-server).
Select copies, what do you mean?
Not for me. Some kind of OSC 52 problem.
Yeah, that really sucks. I couldn’t quite believe what was the case and spent many hours trying to debug it.
Often, holding down "Shift" while making mouse selections will "break through" and let you get at the O.S. copy/paste/selection mechanism. Highly terminal dependent, though!
Not in browsers, unfortunately. Both my work and Home Assistant OS use tmux in a browser tty, and I have to turn off mouse mode to copy.
Maybe you could try this - https://github.com/tmux-plugins/tmux-yank
I haven't tried it, but it looks like it just calls pbcopy, which won't work in a browser. There's no programmatic way to do it, because tmux can't access the clipboard.
I was wondering about tmux vs screen (+splitvt) but didn’t want to ask. What are the advantages?