summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/irssi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fe-text/irssi.c b/src/fe-text/irssi.c
index 9d8f3603..006f5188 100644
--- a/src/fe-text/irssi.c
+++ b/src/fe-text/irssi.c
@@ -148,10 +148,12 @@ static void textui_deinit(void)
quitting = TRUE;
signal(SIGINT, SIG_DFL);
+ screen_refresh_freeze();
while (modules != NULL)
module_unload(modules->data);
signal_remove("gui exit", (SIGNAL_FUNC) sig_exit);
+
gui_textwidget_deinit();
statusbar_deinit();
gui_printtext_deinit();
@@ -161,6 +163,8 @@ static void textui_deinit(void)
mainwindows_deinit();
gui_expandos_deinit();
gui_entry_deinit();
+
+ screen_refresh_thaw();
deinit_screen();
#ifdef HAVE_STATIC_PERL