diff --git a/docs/config/lua/window-events/user-var-changed.md b/docs/config/lua/window-events/user-var-changed.md index a7b23933f..bd8e4d3bc 100644 --- a/docs/config/lua/window-events/user-var-changed.md +++ b/docs/config/lua/window-events/user-var-changed.md @@ -13,6 +13,11 @@ printf "\033]1337;SetUserVar=%s=%s\007" foo `echo -n bar | base64` to set the user var named `foo` to the value `bar`. +!!! note + On some systems the `base64` command wraps the output by default after some + amount of characters limiting the maximum length of the value. If this is + the case an argument like `-w 0` might help to avoid wrapping. + Then, if you have this in your config: ```lua