summaryrefslogtreecommitdiff
path: root/doc/en
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-08-17 07:59:20 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-08-17 07:59:20 +0200
commit968d7ede29f92e63042a460c360c0e64361e9fdc (patch)
tree5ebc13c6f7c7245228d0faacabfebe0d6c4443f3 /doc/en
parente7096810c43e1db561f568c2751e257a85f67aa0 (diff)
downloadweechat-968d7ede29f92e63042a460c360c0e64361e9fdc.zip
trigger: add variables "tg_prefix_nocolor" and "tg_message_nocolor" in line trigger
Diffstat (limited to 'doc/en')
-rw-r--r--doc/en/weechat_user.en.adoc28
1 files changed, 15 insertions, 13 deletions
diff --git a/doc/en/weechat_user.en.adoc b/doc/en/weechat_user.en.adoc
index f8dd81d58..64c774bb2 100644
--- a/doc/en/weechat_user.en.adoc
+++ b/doc/en/weechat_user.en.adoc
@@ -3899,19 +3899,21 @@ The "line" callback sets following variables in hashtable:
[width="100%",cols="3m,2,14",options="header"]
|===
-| Variable | Type | Description
-| buffer | pointer | Buffer.
-| buffer_name | string | Buffer name.
-| buffer_type | string | Buffer type ("formatted" or "free").
-| y | string | Line number for a buffer with free content (≥ 0), -1 for a buffer with formatted content.
-| date | string | Line date (timestamp).
-| date_printed | string | Date when line was displayed (timestamp).
-| str_time | string | Date for display. It may contain color codes.
-| displayed | string | "1" if displayed, "0" if line filtered.
-| notify_level | string | "0" = low level, "1" = message, "2" = private message, "3" = highlight
-| highlight | string | "1" if highlight, otherwise "0".
-| prefix | string | Prefix.
-| message | string | Message.
+| Variable | Type | Description
+| buffer | pointer | Buffer.
+| buffer_name | string | Buffer name.
+| buffer_type | string | Buffer type ("formatted" or "free").
+| y | string | Line number for a buffer with free content (≥ 0), -1 for a buffer with formatted content.
+| date | string | Line date (timestamp).
+| date_printed | string | Date when line was displayed (timestamp).
+| str_time | string | Date for display. It may contain color codes.
+| displayed | string | "1" if displayed, "0" if line filtered.
+| notify_level | string | "0" = low level, "1" = message, "2" = private message, "3" = highlight
+| highlight | string | "1" if highlight, otherwise "0".
+| prefix | string | Prefix.
+| tg_prefix_nocolor | string | Prefix without color codes.
+| message | string | Message.
+| tg_message_nocolor | string | Message without color codes.
|===
Variables set using tags in message (they are also set in _print_ callback and