diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-03-20 17:09:07 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-03-20 17:09:07 +0100 |
commit | 7925b2d242513844cb42e4b146994f7b00643f7a (patch) | |
tree | 53feb01701ad0dc63081b87343506a82d9a9b526 /src/gui/curses | |
parent | 9d96090d7d6fe7841973f10c51710ec505ef034e (diff) | |
download | weechat-7925b2d242513844cb42e4b146994f7b00643f7a.zip |
Refresh screen when exiting WeeChat (to display messages printed after /quit)
Diffstat (limited to 'src/gui/curses')
-rw-r--r-- | src/gui/curses/gui-curses-main.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c index 44ba81ec5..46511ad87 100644 --- a/src/gui/curses/gui-curses-main.c +++ b/src/gui/curses/gui-curses-main.c @@ -349,6 +349,17 @@ gui_main_end (int clean_exit) { if (clean_exit) { + /* + * final refreshs, to see messages just before exiting + * (if we are upgrading, don't refresh anything!) + */ + if (!weechat_upgrading) + { + gui_main_refreshs (); + if (gui_window_refresh_needed) + gui_main_refreshs (); + } + /* remove bar items and bars */ gui_bar_item_end (); gui_bar_free_all (); |