dvtm

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

commit abd6299842c0cbfdbb7f565b4e8d18872feb341f
parent 2c129004b0c629bc83403c412d25cee89ff9cac7
Author: Marc Andre Tanner <mat@brain-dump.org>
Date:   Tue,  7 Oct 2008 20:16:39 +0200

Fix miscalculation when CONFIG_STATUSBAR is not defined

Diffstat:
dvtm.c | 2++
statusbar.c | 2--
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dvtm.c b/dvtm.c @@ -795,6 +795,8 @@ resize_screen() { wrefresh(curscr); refresh(); } + waw = width; + wah = height; #ifdef CONFIG_STATUSBAR updatebarpos(); drawbar(); diff --git a/statusbar.c b/statusbar.c @@ -8,8 +8,6 @@ updatebarpos(void) { by = 0; wax = 0; way = 0; - waw = width; - wah = height; if (statusfd == -1) return; if (barpos == BarTop) {