mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
config: rename at-most-2 (value for grapheme-width-method) to double-width
This commit is contained in:
parent
9817e44c32
commit
5138f02214
5 changed files with 10 additions and 10 deletions
2
vt.c
2
vt.c
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue