Remix.run Logo
post-it 2 days 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).

adamors 2 days ago | parent | next [-]

Select copies, what do you mean?

post-it 2 days ago | parent [-]

Not for me. Some kind of OSC 52 problem.

szopa 2 days ago | parent | prev | next [-]

Yeah, that really sucks. I couldn’t quite believe what was the case and spent many hours trying to debug it.

ramses0 2 days ago | parent | prev | next [-]

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!

post-it 2 days ago | parent [-]

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.

ihowlatthemoon 2 days ago | parent | prev | next [-]

Maybe you could try this - https://github.com/tmux-plugins/tmux-yank

post-it 2 days ago | parent [-]

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.

chasd00 2 days ago | parent | prev [-]

I was wondering about tmux vs screen (+splitvt) but didn’t want to ask. What are the advantages?