aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-11-22 22:02:25 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-11-23 18:50:05 +0000
commitc1c0f11821e36e96add5060916d83533308b4126 (patch)
tree4dce038269cbd99306f5c05e009e318660f78d24 /config.c
parentchangelog: 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 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 68061cc3..0616e87a 100644
--- a/config.c
+++ b/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);
}