Do not try to use pane if there isn't one when redrawing wide characters,

GitHub issues 5145 and 5139.
This commit is contained in:
nicm
2026-06-01 10:53:28 +00:00
parent 3bff7a9e62
commit 4d91ff8d8d

View File

@@ -2483,7 +2483,7 @@ screen_write_cell(struct screen_write_ctx *ctx, const struct grid_cell *gc)
return;
/* Do a full line redraw if needed. */
if (redraw) {
if (redraw && wp != NULL) {
screen_write_redraw_line(ctx, &ttyctx, s->cy);
return;
}