diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/screen.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/screen.c b/src/screen.c index 8862fa1..d4f0ca1 100644 --- a/src/screen.c +++ b/src/screen.c @@ -159,8 +159,7 @@ void vt100_screen_show_string_ascii(VT100Screen *vt, char *buf, size_t len) cell = vt100_screen_cell_at( vt, vt->grid->cur.row, vt->grid->cur.col - 1); if (cell->is_wide) { - cell->len = 1; - cell->contents[0] = ' '; + cell->len = 0; } } } @@ -196,8 +195,7 @@ void vt100_screen_show_string_utf8(VT100Screen *vt, char *buf, size_t len) cell = vt100_screen_cell_at( vt, vt->grid->cur.row, vt->grid->cur.col - 1); if (cell->is_wide) { - cell->len = 1; - cell->contents[0] = ' '; + cell->len = 0; } } } |