Stop reinitializing curses inside a signal handler (doy).

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@603 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Pasi Kallinen 2011-10-03 15:40:03 +00:00
parent e29747ab89
commit 6942ccae67
2 changed files with 1 additions and 1 deletions

View File

@ -2383,6 +2383,7 @@ runmenuloop(struct dg_menu *menu)
loadbanner(menu->banner_fn, &ban);
while (1) {
term_resize_check();
if (doclear) {
doclear = 0;
write(1, "\033%G", 3);

View File

@ -74,7 +74,6 @@ sigwinch_func(int sig)
{
signal(SIGWINCH, sigwinch_func);
curses_resize = 1;
term_resize_check();
}
void