summaryrefslogtreecommitdiff
path: root/src/wins.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-11-29 11:34:00 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2012-11-29 11:34:00 +0100
commita91fd7264191ed32bbd6e12d250701ac0eb6a0b3 (patch)
tree74b8b3cfc8cb7a84b6bdd61227bfe59ef45a87ab /src/wins.c
parentdb2df835da9893930a12a62b30e8893599ae540f (diff)
parent8ae75f3ca723d4d7e449c18f1704147b229ac66c (diff)
downloadcalcurse-a91fd7264191ed32bbd6e12d250701ac0eb6a0b3.zip
Merge branch 'maint'
Diffstat (limited to 'src/wins.c')
-rw-r--r--src/wins.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wins.c b/src/wins.c
index 78cbe07..23894e7 100644
--- a/src/wins.c
+++ b/src/wins.c
@@ -535,16 +535,20 @@ void wins_prepare_external(void)
clear();
wins_refresh();
endwin();
+ sigs_ignore();
}
/* Restore windows when returning from an external command. */
void wins_unprepare_external(void)
{
+ sigs_unignore();
reset_prog_mode();
clearok(curscr, TRUE);
curs_set(0);
ui_mode = UI_CURSES;
wins_refresh();
+ wins_reinit();
+ wins_update(FLAG_ALL);
if (notify_bar())
notify_start_main_thread();
}