1
0
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:
Sebastien Helleu
2014-03-15 11:30:08 +01:00
parent d3c85c920c
commit 298f0211c1
4 changed files with 69 additions and 3 deletions
+1
View File
@@ -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 */
};