Remove check code for tracking down what turned out to be a Apple bug.

This commit is contained in:
Nicholas Marriott
2026-10-12 17:39:48 +01:00
parent 58eb73a6d1
commit 77f39c9df9
4 changed files with 4 additions and 56 deletions

View File

@@ -101,12 +101,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;
@@ -125,8 +125,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);