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

exec: add options "-buffer" and "-sw"/"-nosw" in command /exec

This commit is contained in:
Sebastien Helleu
2014-03-12 19:13:56 +01:00
parent 442bc80da6
commit 6c20e402dc
2 changed files with 67 additions and 22 deletions
+4 -1
View File
@@ -27,9 +27,12 @@ struct t_exec_cmd_options
int detached; /* 1 if detached (no output) */
int pipe_stdin; /* 1 to create a pipe for stdin */
int timeout; /* timeout (in seconds) */
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 */
const char *ptr_name; /* name of command */
int switch_to_buffer; /* switch to the output buffer */
const char *ptr_command_name; /* name of command */
};
extern void exec_command_init ();