mirror of
https://github.com/tmux/tmux.git
synced 2026-02-25 04:15:04 +00:00
Set cell to default when off screen to avoid crash when logging it.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user