12

With screen, in a terminal that's 80 columns wide, I can do something like:

for i in $(seq 81); do echo -n "m"; done; echo

and then resize the window to be a little wider, and the last 'm' jumps up to where it would have been had I run the command before resizing the window. I'm really loving tmux but am missing this lovely feature from screen... Is there any way to make tmux do this (some hidden recompute-width command I haven't found yet)?


EDIT: 2013-07-24

As of February 2013, reflow is supported by tmux!

Here's the commit.

2 Answers 2

7

tmux does not currently support “reflow” or “rewrap” (following the behavior of xterm).

The author of tmux has written several times that he does not personally like the reflow behavior of screen, but that he would consider incorporating it into tmux (as an option, presumably) if someone else were to implement it.

Mailing list references (older first; not an exhaustive list, just what I pulled up with a bit of searching):

2
  • Awesome thanks for the info. I just might have a whack at it...
    – mgalgs
    Oct 15, 2011 at 15:16
  • 1
    All the links are dead now. Sep 26, 2016 at 12:21
7

As of February 2013, reflow is supported by tmux!

Here's the commit.

2
  • 4
    How ironic. I came here to figure out how to disable this feature after updating my version. Oct 22, 2013 at 18:54
  • 1
    @philo should be fixed shortly Sep 19, 2016 at 14:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .