diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2004-07-10 15:39:39 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2004-07-10 15:39:39 +0000 |
commit | b9e5c94032bfcdee0526de867c4b3f04351a8763 (patch) | |
tree | 01c45a820d4233da3ac3f0de3f4699d7d892bf0a /src/gui/curses | |
parent | 4c660ad5657c878390de6282dbb22f92a4896cdc (diff) | |
download | weechat-b9e5c94032bfcdee0526de867c4b3f04351a8763.zip |
Free all buffers when exiting from WeeChat
Diffstat (limited to 'src/gui/curses')
-rw-r--r-- | src/gui/curses/gui-display.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c index 31d347a25..d9cf8b988 100644 --- a/src/gui/curses/gui-display.c +++ b/src/gui/curses/gui-display.c @@ -1655,7 +1655,12 @@ gui_end () delwin (ptr_win->win_infobar); if (ptr_win->win_input) delwin (ptr_win->win_input); - /* TODO: free input buffer, lines, messages, completion */ + } + + /* delete all buffers */ + while (gui_buffers) + { + gui_buffer_free (gui_buffers, 0); } /* end of curses output */ |