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.

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 '11 at 15:16
  • 1
    All the links are dead now. – Mateusz Piotrowski Sep 26 '16 at 12:21
7

As of February 2013, reflow is supported by tmux!

Here's the commit.

2
  • 3
    How ironic. I came here to figure out how to disable this feature after updating my version. – Trevor Norris Oct 22 '13 at 18:54
  • 1
    @philo should be fixed shortly – Romuald Brunet Sep 19 '16 at 14:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.