Merge branch 'master' into 4902-image-support

This commit is contained in:
Nicholas Marriott
2026-10-12 19:06:43 +01:00
5 changed files with 6 additions and 61 deletions

View File

@@ -96,12 +96,12 @@ screen_init(struct screen *s, u_int sx, u_int sy, u_int hlimit)
s->write_list = NULL;
s->hyperlinks = NULL;
screen_reinit(s, 1);
screen_reinit(s);
}
/* Reinitialise screen. */
void
screen_reinit(struct screen *s, int check)
screen_reinit(struct screen *s)
{
s->cx = 0;
s->cy = 0;
@@ -120,8 +120,6 @@ screen_reinit(struct screen *s, int check)
s->saved_cy = UINT_MAX;
screen_reset_tabs(s);
if (check)
grid_check_is_clear(s->grid);
grid_clear_lines(s->grid, s->grid->hsize, s->grid->sy, 8);
screen_clear_selection(s);