dvtm

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

commit f8b04fef44fcc1902d790931153880c932178e43
parent fbd6de8d8ea1019b2af005de9fed9b44a58c75e9
Author: Mark Edgar <medgar123@gmail.com>
Date:   Tue,  8 Oct 2013 23:50:46 +0200

Replace clear_workspace() with erase().

Diffstat:
dvtm.c | 9+--------
1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/dvtm.c b/dvtm.c @@ -219,13 +219,6 @@ isarrange(void (*func)()) { } static void -clear_workspace() { - for (unsigned int y = 0; y < wah; y++) - mvhline(way + y, 0, ' ', waw); - wnoutrefresh(stdscr); -} - -static void drawbar() { wchar_t wbuf[sizeof bar.text]; int w, maxwidth = screen.w - 2; @@ -325,7 +318,7 @@ draw_all(bool border) { static void arrange() { - clear_workspace(); + erase(); attrset(NORMAL_ATTR); layout->arrange(); wnoutrefresh(stdscr);