Sebastien Helleu
c92b186e01
exec: rename value "off" to "ansi" for option "-color" in command /exec
2014-03-15 12:43:06 +01:00
Sebastien Helleu
298f0211c1
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").
2014-03-15 11:30:08 +01:00
Sebastien Helleu
7b31d397b7
exec: add missing empty lines in output of commands
...
The function weechat_string_split() collapses many separators (here "\n"),
so empty lines were removed and not displayed.
For example, if output is "Line1\n\nEnd\n", the empty line between "Line1"
and "End" was not displayed.
2014-03-13 12:08:33 +01:00
Sebastien Helleu
0eca1fd20b
exec: add options "-rc"/"-norc" (display return code) in command /exec
2014-03-13 07:56:20 +01:00
Sebastien Helleu
ed6ea18c30
exec: add options "-ln"/"-noln" (line numbers) in command /exec
2014-03-12 19:52:04 +01:00
Sebastien Helleu
e8de096625
exec: add options "-n"/"-ns" in command /exec (display output in a new buffer)
2014-03-12 11:54:00 +01:00
Sebastien Helleu
281cfdda94
exec: add option "-bg" in command /exec
2014-03-11 17:51:06 +01:00
Sebastien Helleu
3f50356a14
exec: remove error prefix in case of unexpected end of a command
2014-03-11 17:49:49 +01:00
Sebastien Helleu
ee2cb329f4
exec: display command return code after output (stdout/stderr)
2014-03-11 17:49:49 +01:00
Sebastien Helleu
9355c867ed
exec: add tag "exec_rc" for line with command return code, remove empty line displayed before
2014-03-11 17:49:49 +01:00
Sebastien Helleu
97254780d6
exec: add exec plugin
2014-03-11 17:49:49 +01:00