summaryrefslogtreecommitdiff
path: root/src/gui/curses/gui-curses-window.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-08-08 08:19:04 +0000
committerSebastien Helleu <flashcode@flashtux.org>2007-08-08 08:19:04 +0000
commitf68a2cbfcdb6d948b503274518144890d092a56a (patch)
tree349dcc21e4574b7ed661e4b7b58283414e69e44d /src/gui/curses/gui-curses-window.c
parent3c10d2205e3ffbd821b4490e454c6f4d32e16e5d (diff)
downloadweechat-f68a2cbfcdb6d948b503274518144890d092a56a.zip
Added "copy" and "rename" options to /server command
Diffstat (limited to 'src/gui/curses/gui-curses-window.c')
-rw-r--r--src/gui/curses/gui-curses-window.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c
index a70017d3b..ae2096125 100644
--- a/src/gui/curses/gui-curses-window.c
+++ b/src/gui/curses/gui-curses-window.c
@@ -431,6 +431,21 @@ gui_window_redraw_buffer (t_gui_buffer *buffer)
}
/*
+ * gui_window_redraw_all_buffers: redraw all buffers
+ */
+
+void
+gui_window_redraw_all_buffers ()
+{
+ t_gui_window *ptr_win;
+
+ for (ptr_win = gui_windows; ptr_win; ptr_win = ptr_win->next_window)
+ {
+ gui_window_redraw_buffer (ptr_win->buffer);
+ }
+}
+
+/*
* gui_window_switch_to_buffer: switch to another buffer
*/