diff --git a/src/viewer/dump/dump.c b/src/viewer/dump/dump.c index b89a611c9..2ea4724b2 100644 --- a/src/viewer/dump/dump.c +++ b/src/viewer/dump/dump.c @@ -915,6 +915,9 @@ utf8: if (write_char(*utf8_buf++, fd, buf, &bptr)) goto fail; } + + x += unicode_to_cell(c) - 1; + continue; }