Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tmux grid border in second session window

Tags:

iterm2

tmux

I attached to an existing tmux session from a second iterm2 window on a second screen.

tmux new-session -t matt

For some reason my session has a dotted border around the window. Why is this happening?

tmux grid border

like image 891
Matt Carrier Avatar asked Mar 02 '16 19:03

Matt Carrier


1 Answers

This is very similar to this question: Is there any way to redraw tmux window when switching smaller monitor to bigger one?

One way to prevent this (the dots around the "useful" portion) is to detach all other sessions when you attach:

$ tmux attach -d -t matt

like image 124
rcreswick Avatar answered Sep 30 '22 19:09

rcreswick