mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-25 06:46:36 -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
2
config.c
2
config.c
|
|
@ -2248,7 +2248,7 @@ parse_section_tweak(struct context *ctx)
|
|||
|
||||
return value_to_enum(
|
||||
ctx,
|
||||
(const char *[]){"wcswidth", "double-width", NULL},
|
||||
(const char *[]){"wcswidth", "double-width", "max", NULL},
|
||||
(int *)&conf->tweak.grapheme_width_method);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue