Fix bug with utf-8 extended characters not respecting visible range.

This commit is contained in:
Michael Grant
2026-02-24 01:19:24 +00:00
parent e2cf40ef99
commit 6898e26a7a
2 changed files with 6 additions and 5 deletions

View File

@@ -223,6 +223,7 @@ tty_draw_line(struct tty *tty, struct screen *s, u_int px, u_int py, u_int nx,
*/
empty = 0;
next_state = TTY_DRAW_LINE_DONE;
gcp = &grid_default_cell;
} else {
/* Get the current cell. */
grid_view_get_cell(gd, px + i, py, &gc);