mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 03:35:41 +02:00
Merge pull request 'doc: string particle’s “max” uses Unicode … now' (#220) from midgard/yambar:doc-unicode-ellipsis into master
Reviewed-on: https://codeberg.org/dnkl/yambar/pulls/220
This commit is contained in:
commit
6427e8213c
1 changed files with 3 additions and 3 deletions
|
@ -106,7 +106,7 @@ of free text mixed with tag specifiers.
|
|||
| text
|
||||
: string
|
||||
: yes
|
||||
: Format string. Tags are spcified with _{tag_name}_. Some tag types
|
||||
: Format string. Tags are specified with _{tag_name}_. Some tag types
|
||||
have suffixes that can be appended (e.g. _{tag_name:suffix}_). See
|
||||
*yambar-modules*(5)).
|
||||
| max
|
||||
|
@ -114,9 +114,9 @@ of free text mixed with tag specifiers.
|
|||
: no
|
||||
: Sets the rendered string's maximum length. If the final string's
|
||||
length exceeds this, the rendered string will be truncated, and
|
||||
"..." will be appended. Note that the trailing "..." are
|
||||
"…" will be appended. Note that the trailing "…" is
|
||||
*included* in the maximum length. I.e. if you set _max_ to '5', you
|
||||
will only get *2* characters from the string.
|
||||
will only get *4* characters from the string.
|
||||
|
||||
## EXAMPLES
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue