mirror of
https://github.com/tmux/tmux.git
synced 2026-03-06 07:45:35 +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;
|
empty = 0;
|
||||||
next_state = TTY_DRAW_LINE_DONE;
|
next_state = TTY_DRAW_LINE_DONE;
|
||||||
|
gcp = &grid_default_cell;
|
||||||
} else {
|
} else {
|
||||||
/* Get the current cell. */
|
/* Get the current cell. */
|
||||||
grid_view_get_cell(gd, px + i, py, &gc);
|
grid_view_get_cell(gd, px + i, py, &gc);
|
||||||
|
|||||||
Reference in New Issue
Block a user