this is a different issue, sounds like something isn't sending tmux SIGWINCH
what window manager? On Fri, Jun 10, 2011 at 08:19:22AM -0700, Randy Stauner wrote: > I don't know if you'd consider this related, > or a separate redrawing problem, > but I normally have my terminal (xfce4-terminal) fill about half of my > screen... > if i maximize it for a bit, and then shrink it back to the previous size, > the terminal ends up growing taller (which doesn't fit on my screen), > perhaps because there are long lines that have to get re-wrapped or > something,.. > and my then my tmux status bar gets pushed below the bottom of the screen > and i have to manually reshrink my terminal by 2 lines (and then move it > back to the top). > trying it right now it's not *that* simple to reproduce, > but it does happen pretty frequently. > On Sat, Jun 4, 2011 at 2:30 AM, Nicholas Marriott > <[1]nicholas.marri...@gmail.com> wrote: > > Not supported, no. If you want to do it go for it, IIRC tmux does track > information on the "real" line end (grid_line flags member, > GRID_LINE_WRAPPED), it just doesn't use it on resize. > > On Fri, Jun 03, 2011 at 11:35:15PM +0200, No?? Rubinstein wrote: > > Hi, > > > > When a line's length exceeds the width of the terminal, tmux wraps the > line so > > that it displays as two lines. However, if the window is then resized, > the line > > remains cut at the same place. > > > > For example, if I print the alphabet in a 20-columns window, I get > something > > like: > > +--------------------+ > > |abcdefghijklmnopqrst| > > |uvwxyz ** ** ** ** ** ** **| > > | ** ** ** ** ** ** ** ** ** **| > > | ** ** ** ** ** ** ** ** ** **| > > +--------------------+ > > > > If I resize the window to 15 columns, I get: > > +---------------+ > > |abcdefghijklmno| > > |uvwxyz ** ** ** ** | > > | ** ** ** ** ** ** ** | > > | ** ** ** ** ** ** ** | > > +---------------+ > > > > If I then resize it to 25 columns, I get: > > +-------------------------+ > > |abcdefghijklmnopqrst ** ** | > > |uvwxyz ** ** ** ** ** ** ** ** ** | > > | ** ** ** ** ** ** ** ** ** ** ** ** | > > | ** ** ** ** ** ** ** ** ** ** ** ** | > > +-------------------------+ > > > > I would like to know if it's possible, and how, to get tmux to > automatically > > rewrap the lines to the width of the terminal, so that when I resize > the window > > like above, I get things like: > > > > +---------------+ > > |abcdefghijklmno| > > |pqrstuvwxyz ** **| > > | ** ** ** ** ** ** ** | > > | ** ** ** ** ** ** ** | > > +---------------+ > > > > and > > > > +-------------------------+ > > |abcdefghijklmnopqrstuvwxy| > > |z ** ** ** ** ** ** ** ** ** ** ** **| > > | ** ** ** ** ** ** ** ** ** ** ** ** | > > | ** ** ** ** ** ** ** ** ** ** ** ** | > > +-------------------------+ > > > > After a quick look at the code, I think this is not supported by tmux. > Am I > > right? If I am, do you have any idea of workaround, or know how hard > it would > > be to implement in tmux? > > > > (As a side note, several common applications do this line wrapping > themselve: > > for example visual applications like vim or irssi. However, > applications that > > do not handle wrapping the lines themselve become less usable when I > have to > > use them in environments with different window sizes. It also seems > that > > readline handles the wrapping, so just typing the alphabet on the > command > > prompt won't be sufficient to reproduce) > > > > Thanks, > > -- > > No?? Rubinstein > > > > > > ------------------------------------------------------------------------------ > > Simplify data backup and recovery for your virtual environment with > vRanger. > > Installation's a snap, and flexible recovery options mean your data is > safe, > > secure and there when you need it. Discover what all the cheering's > about. > > Get your free trial download today. > > [2]http://p.sf.net/sfu/quest-dev2dev2 > > _______________________________________________ > > tmux-users mailing list > > [3]tmux-users@lists.sourceforge.net > > [4]https://lists.sourceforge.net/lists/listinfo/tmux-users > > > ------------------------------------------------------------------------------ > Simplify data backup and recovery for your virtual environment with > vRanger. > Installation's a snap, and flexible recovery options mean your data is > safe, > secure and there when you need it. Discover what all the cheering's > about. > Get your free trial download today. > [5]http://p.sf.net/sfu/quest-dev2dev2 > _______________________________________________ > tmux-users mailing list > [6]tmux-users@lists.sourceforge.net > [7]https://lists.sourceforge.net/lists/listinfo/tmux-users > > References > > Visible links > 1. mailto:nicholas.marri...@gmail.com > 2. http://p.sf.net/sfu/quest-dev2dev2 > 3. mailto:tmux-users@lists.sourceforge.net > 4. https://lists.sourceforge.net/lists/listinfo/tmux-users > 5. http://p.sf.net/sfu/quest-dev2dev2 > 6. mailto:tmux-users@lists.sourceforge.net > 7. https://lists.sourceforge.net/lists/listinfo/tmux-users ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users