1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00

exec: add options -nf and -cl/-nocl in command /exec

-nf: create a new buffer with free content
-cl: clear new buffer
-nocl: append in new buffer
This commit is contained in:
Sebastien Helleu
2014-03-25 09:25:47 +01:00
parent 966a2f4fb4
commit 8deb0d3612
23 changed files with 383 additions and 192 deletions
+2 -1
View File
@@ -30,7 +30,8 @@ struct t_exec_cmd_options
const char *ptr_buffer_name; /* name of buffer */
struct t_gui_buffer *ptr_buffer; /* pointer to buffer */
int output_to_buffer; /* 1 if output is sent to buffer */
int new_buffer; /* output in a new buffer */
int new_buffer; /* 1=new buffer, 2=new buf. free cont*/
int new_buffer_clear; /* 1 to clear buffer before output */
int switch_to_buffer; /* switch to the output buffer */
int line_numbers; /* 1 to display line numbers */
int color; /* what to do with ANSI colors */