diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-03-15 11:06:30 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-03-15 11:06:30 +0100 |
commit | e38f437ad739967c5e8e5388ff47d38fb88b2a9f (patch) | |
tree | 6d0be982c81fc63d1bf90207eab9296ce9415cdf /doc/en/weechat_plugin_api.en.txt | |
parent | 9e659d9f2eb303e7d3bd77b69015e3f742610a92 (diff) | |
download | weechat-e38f437ad739967c5e8e5388ff47d38fb88b2a9f.zip |
core: add modifier and infos to decode ANSI colors
New modifier:
- color_decode_ansi: convert ANSI colors to WeeChat colors (or remove colors).
New infos:
- color_ansi_regex: regex used to parse ANSI colors in a string
- color_term2rgb: convert a terminal color (0-255) to RGB
- color_rgb2term: convert a RGB color to terminal color (0-255)
Diffstat (limited to 'doc/en/weechat_plugin_api.en.txt')
-rw-r--r-- | doc/en/weechat_plugin_api.en.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index a57636d20..6d2fb9bb4 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -9132,12 +9132,12 @@ List of modifiers used by WeeChat and plugins: | irc_color_decode | "1" to keep colors, "0" to remove colors | Any string | - String with WeeChat color codes, or without color + String with IRC colors converted to WeeChat colors (or IRC colors removed) | irc_color_encode | "1" to keep colors, "0" to remove colors | Any string | - String with IRC color codes, or without color + String with IRC colors (or IRC colors removed) | irc_command_auth + _(WeeChat ≥ 0.4.1)_ | @@ -9175,6 +9175,12 @@ List of modifiers used by WeeChat and plugins: fit in 512 bytes) | New content of message +| color_decode_ansi + + _(WeeChat ≥ 0.4.4)_ | + "1" to keep colors, "0" to remove colors | + Any string | + String with ANSI colors converted to WeeChat colors (or ANSI colors removed) + | bar_condition_yyy ^(2)^ | String with window pointer ("0x123..") | Empty string | |