mirror of
https://github.com/weechat/weechat.git
synced 2026-07-08 02:33:12 +02:00
core: use ${info:term_width} instead of ${window.win_width} in /help weechat.bar.xxx.conditions (closes #703)
This commit is contained in:
+1
-1
@@ -1416,7 +1416,7 @@ gui_bar_create_option (const char *bar_name, int index_option, const char *value
|
||||
"\"active\", \"inactive\", \"nicklist\" (window must be "
|
||||
"active/inactive, buffer must have a nicklist), or an "
|
||||
"expression with condition(s) (see /help eval), "
|
||||
"like: \"${nicklist} && ${window.win_width} > 100\" "
|
||||
"like: \"${nicklist} && ${info:term_width} > 100\" "
|
||||
"(local variables for expression are ${active}, "
|
||||
"${inactive} and ${nicklist})"),
|
||||
NULL, 0, 0, value, NULL, 0,
|
||||
|
||||
Reference in New Issue
Block a user