diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-22 22:02:25 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-23 18:50:05 +0000 |
| commit | c1c0f11821e36e96add5060916d83533308b4126 (patch) | |
| tree | 4dce038269cbd99306f5c05e009e318660f78d24 /doc | |
| parent | changelog: add new ‘unreleased’ section (diff) | |
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.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/foot.ini.5.scd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 9f5c429b..1b6c4d8c 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -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* |
