diff options
author | Frederic Culot <calcurse@culot.org> | 2007-10-07 17:13:10 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-10-07 17:13:10 +0000 |
commit | f3e8775cabbd82d006a17f860c49dc2cffeb80f1 (patch) | |
tree | 69ca04e5044b735a7c2ba778f5b5f434396f1ea2 /src/sigs.c | |
parent | 5e62e11e237b0048f225b9caff1729ce91cd0100 (diff) | |
download | calcurse-f3e8775cabbd82d006a17f860c49dc2cffeb80f1.zip |
Handling of SIGWINCH improved
Diffstat (limited to 'src/sigs.c')
-rwxr-xr-x | src/sigs.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; } } |