diff options
author | Timo Sirainen <cras@irssi.org> | 2001-02-05 01:06:42 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-02-05 01:06:42 +0000 |
commit | 3f113f51b9eb0cd84535e5f57cd62bdf6c71c257 (patch) | |
tree | 19fead15b457fff6dab361c9bb52b525415572e7 /src/fe-text/irssi.c | |
parent | 7612cf47739d220a461c71d932ec82744e9b1bf9 (diff) | |
download | irssi-3f113f51b9eb0cd84535e5f57cd62bdf6c71c257.zip |
make deinitialization between screen_refresh_freeze() and
screen_refresh_thaw() so screen won't get redrawn needlessly
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1184 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/irssi.c')
-rw-r--r-- | src/fe-text/irssi.c | 4 |
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 |