mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
vt: utf8-print: check width == 0 first, when deciding whether to do combining
This commit is contained in:
parent
9452aff020
commit
97221dd09b
1 changed files with 1 additions and 1 deletions
2
vt.c
2
vt.c
|
|
@ -527,7 +527,7 @@ action_utf8_print(struct terminal *term, wchar_t wc)
|
|||
*
|
||||
* TODO: handle line-wrap when locating the base character.
|
||||
*/
|
||||
if (wc >= 0x0300 && width == 0 && term->grid->cursor.point.col > 0) {
|
||||
if (width == 0 && wc >= 0x0300 && term->grid->cursor.point.col > 0) {
|
||||
const struct row *row = term->grid->cur_row;
|
||||
|
||||
int base_col = term->grid->cursor.point.col;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue