mirror of
https://github.com/tmux/tmux.git
synced 2026-06-04 00:56:17 +00:00
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:
@@ -2483,7 +2483,7 @@ screen_write_cell(struct screen_write_ctx *ctx, const struct grid_cell *gc)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
/* Do a full line redraw if needed. */
|
/* Do a full line redraw if needed. */
|
||||||
if (redraw) {
|
if (redraw && wp != NULL) {
|
||||||
screen_write_redraw_line(ctx, &ttyctx, s->cy);
|
screen_write_redraw_line(ctx, &ttyctx, s->cy);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user