mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 07:16:21 +00:00
Moved windows on resize
This commit is contained in:
@@ -80,8 +80,10 @@ void status_bar_resize(void)
|
||||
int rows, cols, i;
|
||||
getmaxyx(stdscr, rows, cols);
|
||||
|
||||
status_bar = newwin(1, cols, rows-2, 0);
|
||||
mvwin(status_bar, rows-2, 0);
|
||||
wresize(status_bar, 1, cols);
|
||||
wbkgd(status_bar, COLOR_PAIR(3));
|
||||
wclear(status_bar);
|
||||
wattron(status_bar, COLOR_PAIR(4));
|
||||
mvwprintw(status_bar, 0, cols - 29, _active);
|
||||
wattroff(status_bar, COLOR_PAIR(4));
|
||||
|
||||
Reference in New Issue
Block a user