Moved windows on resize

This commit is contained in:
James Booth
2012-04-22 20:59:36 +01:00
parent e5d4e09f6a
commit 6f69ce267b
6 changed files with 24 additions and 18 deletions

View File

@@ -68,8 +68,9 @@ void title_bar_resize(void)
int rows, cols;
getmaxyx(stdscr, rows, cols);
title_bar = newwin(1, cols, 0, 0);
wresize(title_bar, 1, cols);
wbkgd(title_bar, COLOR_PAIR(3));
wclear(title_bar);
_title_bar_draw_title();
_title_bar_draw_status();
dirty = TRUE;