diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-01-01 14:39:12 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-01-01 14:39:12 +0100 |
commit | 0721bb1d4c247b3d063a589644f4b88c2585fedd (patch) | |
tree | 9697ebf2eef7c30dbd4c8f83270c22eea3be656b /doc/en | |
parent | 7445c12667766d4a8ea43536325a25a44d5acd18 (diff) | |
download | weechat-0721bb1d4c247b3d063a589644f4b88c2585fedd.zip |
Add new command /color
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/autogen/plugin_api/completions.txt | 2 | ||||
-rw-r--r-- | doc/en/autogen/user/weechat_commands.txt | 24 |
2 files changed, 26 insertions, 0 deletions
diff --git a/doc/en/autogen/plugin_api/completions.txt b/doc/en/autogen/plugin_api/completions.txt index 9987a8953..f3ddecb50 100644 --- a/doc/en/autogen/plugin_api/completions.txt +++ b/doc/en/autogen/plugin_api/completions.txt @@ -70,6 +70,8 @@ | weechat | buffers_plugins_names | names of buffers (including plugins names) +| weechat | color_pairs | color pairs + | weechat | commands | commands (weechat and plugins) | weechat | config_files | configuration files diff --git a/doc/en/autogen/user/weechat_commands.txt b/doc/en/autogen/user/weechat_commands.txt index b78c2b04a..4a9fcd7fe 100644 --- a/doc/en/autogen/user/weechat_commands.txt +++ b/doc/en/autogen/user/weechat_commands.txt @@ -99,6 +99,30 @@ /buffer +1 ........................................ +• *`/color`* `[add pair [alias] [fg,bg] [r/g/b]] | [del pair] | switch`:: + +........................................ + define custom colors and display palette of colors + + add: add a color pair + del: delete a color pair + switch: switch WeeChat/terminal colors + pair: pair number (>= 1) + alias: alias name for color (for example: "orange") + fg,bg: foreground and background pair number (-1 for default terminal foreground or background) + r/g/b: red/green/blue values (0-1000), terminal must support it + + Without argument, this command displays colors in a new buffer. + + Examples: + add color 214 with alias "orange": + /color add 214 orange + add color 250 with orange on blue: + /color add 250 214,4 orange_blue + delete color 214: + /color del 214 +........................................ + • *`/command`* `plugin command`:: ........................................ |