dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 756baed66ca639126215754da9aac1a551ea76bc
parent 432df20d6964e2a7f1559112625fda6c7496062a
Author: Marc Andre Tanner <mat@brain-dump.org>
Date:   Fri,  3 Jul 2009 16:25:15 +0200

Read terminal size on redraw command

This should provide an easy way to make sure that dvtm actually
uses all available space which it apparently doesn't always do
after for example dtach session restoration allthought -r winch
was specified but nevertheless no SIGWINCH is received by dvtm.

dvtm.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/dvtm.c b/dvtm.c @@ -456,6 +456,7 @@ scrollback(const char *args[]) { static void redraw(const char *args[]) { wrefresh(curscr); + resize_screen(); draw_all(true); }