diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-07-01 06:00:23 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-07-01 06:00:23 +0000 |
| commit | 5138f022146e447d8bb0be56a06e9065b35b6489 (patch) | |
| tree | f3aebec4807e101387eb07451451d13d2a925357 /vt.c | |
| parent | config: add tweak.grapheme-width-method=wcswidth|at-most-2 (diff) | |
config: rename at-most-2 (value for grapheme-width-method) to double-width
Diffstat (limited to 'vt.c')
| -rw-r--r-- | vt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -768,7 +768,7 @@ action_utf8_print(struct terminal *term, wchar_t wc) composed != NULL ? composed->width : base_width; switch (term->conf->tweak.grapheme_width_method) { - case GRAPHEME_WIDTH_MAX_2: + case GRAPHEME_WIDTH_DOUBLE: if (unlikely(wc == 0xfe0f)) width = 2; new_cc->width = min(grapheme_width + width, 2); |
