mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 00:03:12 +02:00
exec: add option "-color" in command /exec (decode ANSI colors by default)
The ANSI colors are decoded by default to WeeChat colors (for local display), or IRC colors (if output is sent to buffer with "-o").
This commit is contained in:
@@ -33,6 +33,7 @@ struct t_exec_cmd_options
|
||||
int new_buffer; /* output in a new buffer */
|
||||
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 */
|
||||
int display_rc; /* 1 to display return code */
|
||||
const char *ptr_command_name; /* name of command */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user