Handling of SIGWINCH improved

This commit is contained in:
Frederic Culot
2007-10-07 17:13:10 +00:00
parent 5e62e11e23
commit f3e8775cab
2 changed files with 24 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
/* $Id: sigs.c,v 1.3 2007/08/15 15:30:17 culot Exp $ */
/* $Id: sigs.c,v 1.4 2007/10/07 17:13:10 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -48,7 +48,8 @@ signal_handler(int sig)
;
break;
case SIGWINCH:
wins_reset();
clearok(curscr, TRUE);
ungetch(KEY_RESIZE);
break;
}
}