tmux: how to adjust the tmux session's width to fit in the terminal panel?

Viewed 3327

when I re-attach a tmux session, the width of the tmux window is still the previous width and padded with white dots:

screenshot

So my question is how to adjust the tmux width to fit in the terminal panel? The ideal setting would be the tmux session's width is auto-adjusted whenever re-attached.

PS: I am using iterm2 on mac.

EDIT: This is actually answered here: https://stackoverflow.com/a/19280187/1464263

1 Answers
Related