aboutsummaryrefslogtreecommitdiffstats
path: root/src/sigs.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-10-07 17:13:10 +0000
committerFrederic Culot <calcurse@culot.org>2007-10-07 17:13:10 +0000
commitf3e8775cabbd82d006a17f860c49dc2cffeb80f1 (patch)
tree69ca04e5044b735a7c2ba778f5b5f434396f1ea2 /src/sigs.c
parent5e62e11e237b0048f225b9caff1729ce91cd0100 (diff)
downloadcalcurse-f3e8775cabbd82d006a17f860c49dc2cffeb80f1.tar.gz
calcurse-f3e8775cabbd82d006a17f860c49dc2cffeb80f1.zip
Handling of SIGWINCH improved
Diffstat (limited to 'src/sigs.c')
-rwxr-xr-xsrc/sigs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sigs.c b/src/sigs.c
index e498b24..261da4e 100755
--- a/src/sigs.c
+++ b/src/sigs.c
@@ -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;
}
}