From 6db6b35e408398603245ccf095423e729ed87b7f Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Thu, 17 Aug 2006 23:24:40 +0000 Subject: Added 'C'lear option on IRC raw buffer --- src/gui/gui-common.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/gui/gui-common.c') diff --git a/src/gui/gui-common.c b/src/gui/gui-common.c index 8dcaa167a..f01e07dc7 100644 --- a/src/gui/gui-common.c +++ b/src/gui/gui-common.c @@ -778,6 +778,13 @@ gui_exec_action_raw_data (t_gui_window *window, char *actions) switch (actions[0]) { /* close raw IRC data */ + case 'c': + case 'C': + gui_buffer_clear (window->buffer); + gui_window_redraw_buffer (window->buffer); + return; + break; + /* close raw IRC data */ case 'q': case 'Q': if (gui_buffer_before_raw_data) -- cgit v1.2.3