mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-04 07:15:29 -04:00
config: add tweak.grapheme-width-method=max
‘max’ is a new value for ‘tweak.grapheme-width-method’. When enabled, the width of a grapheme cluster is that of the cluster’s widest codepoint.
This commit is contained in:
parent
caec64cbda
commit
c1c0f11821
5 changed files with 18 additions and 3 deletions
|
|
@ -1093,7 +1093,7 @@ any of these options.
|
|||
*grapheme-width-method*
|
||||
Selects which method to use when calculating the width
|
||||
(i.e. number of columns) of a grapheme cluster. One of
|
||||
*double-width* and *wcswidth*.
|
||||
*wcswidth*, *double-width* and *max*.
|
||||
|
||||
*wcswidth* simply adds together the individual width of all
|
||||
codepoints making up the cluster.
|
||||
|
|
@ -1104,6 +1104,8 @@ any of these options.
|
|||
internally to calculate the width. This results in cursor
|
||||
de-synchronization issues.
|
||||
|
||||
*max* uses the width of the largest codepoint in the cluster.
|
||||
|
||||
Default: _wcswidth_
|
||||
|
||||
*font-monospace-warn*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue