mirror of
https://github.com/tmux/tmux.git
synced 2026-06-03 16:46:18 +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;
|
||||
|
||||
/* Do a full line redraw if needed. */
|
||||
if (redraw) {
|
||||
if (redraw && wp != NULL) {
|
||||
screen_write_redraw_line(ctx, &ttyctx, s->cy);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user