You are not logged in.

#1 2009-11-27 17:42:19

egan
Member
From: Mountain View, CA
Registered: 2009-08-17
Posts: 273

Corrupted Scroll-Back Buffer On Resize (Tiling)

Many times when I have minor annoyances with Linux, there is some workaround, so I decided to ask about this lest there be a solution to which I am oblivious.

I use a tiling window manager, specifically Xmonad, with the terminal emulator urxvt running as a daemon.

When I change layouts (e.g. Tall to Wide to Full to Tall again, etc.) in many cases, the scrollback buffer is corrupted, filled with text junk. I understand that obviously if I work with a smaller terminal the becomes bigger, the previous line breaks will still be there, but that is not my problem. I have a screen's worth of scroll back history visible, and when I change layouts, and come back to the original, only half the screen is there and the rest appears to ncurses garbage from previous editing sessions that should have already been cleared.

Obviously, this is a minor annoyance, but I might as well learn more about why this happens, and perhaps a solution to it if one exists.

Any insight would be appreciated.

Offline

Board footer

Powered by FluxBB