1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-07-21 16:14:14 -04:00

Minimise flickering when resizing the console window

This commit is contained in:
John Zaitseff 2011-08-12 16:09:38 +10:00
parent 6594ff3daa
commit b27af38537

View File

@ -125,7 +125,7 @@ txwin_t *firstwin = NULL; // First (bottom-most) txwin structure
Returns: (nothing)
This function draws the main window game title, "Star Traders", and
clears the rest of the screen.
clears the rest of the screen. It does NOT call wrefresh().
*/
static void init_title (void);
@ -344,6 +344,7 @@ void init_screen (void)
}
init_title();
refresh();
}
@ -379,9 +380,7 @@ void init_title (void)
}
center(stdscr, 0, attr_game_title, "Star Traders");
attrset(attr_root_window);
refresh();
}