summaryrefslogtreecommitdiff
path: root/doc/en/autogen/user/buflist_commands.adoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-12-26 22:44:19 +0100
committerSébastien Helleu <flashcode@flashtux.org>2019-12-26 22:44:19 +0100
commit481da803cb32e120fadd4b2ae994b5c3b32b6008 (patch)
treefa2571221fbd54be5dbdedcc614a7831b6496134 /doc/en/autogen/user/buflist_commands.adoc
parente11075e2cd53fbe2677261baedab6478a8a718bc (diff)
downloadweechat-481da803cb32e120fadd4b2ae994b5c3b32b6008.zip
buflist: add pointer "window" in bar item evaluation
Diffstat (limited to 'doc/en/autogen/user/buflist_commands.adoc')
-rw-r--r--doc/en/autogen/user/buflist_commands.adoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/en/autogen/user/buflist_commands.adoc b/doc/en/autogen/user/buflist_commands.adoc
index effe55abe..e8a0dc86c 100644
--- a/doc/en/autogen/user/buflist_commands.adoc
+++ b/doc/en/autogen/user/buflist_commands.adoc
@@ -20,6 +20,9 @@ The lines with buffers are displayed using string evaluation (see /help eval for
The following variables can be used in these options:
- bar item data (see hdata "bar_item" in API doc for a complete list), for example:
- ${bar_item.name}
+ - window data, where the bar item is displayed (there's no window in root bars, see hdata "window" in API doc for a complete list), for example:
+ - ${window.number}
+ - ${window.buffer.full_name}
- buffer data (see hdata "buffer" in API doc for a complete list), for example:
- ${buffer.number}
- ${buffer.name}