diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-08-17 23:24:40 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-08-17 23:24:40 +0000 |
commit | 6db6b35e408398603245ccf095423e729ed87b7f (patch) | |
tree | 1bb14e64a9f504156b6dc00c0340525f5ce71c1c /src/gui/gui-common.c | |
parent | aacbf82675e3fb3371d941cf2b805cd5594fb4c0 (diff) | |
download | weechat-6db6b35e408398603245ccf095423e729ed87b7f.zip |
Added 'C'lear option on IRC raw buffer
Diffstat (limited to 'src/gui/gui-common.c')
-rw-r--r-- | src/gui/gui-common.c | 7 |
1 files changed, 7 insertions, 0 deletions
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) |