Fix #3422
This commit is contained in:
@@ -338,7 +338,7 @@ screen_resize(Screen *self, unsigned int lines, unsigned int columns) {
|
|||||||
if (!historybuf_pop_line(self->historybuf, self->alt_linebuf->line)) break;
|
if (!historybuf_pop_line(self->historybuf, self->alt_linebuf->line)) break;
|
||||||
INDEX_DOWN;
|
INDEX_DOWN;
|
||||||
linebuf_copy_line_to(self->main_linebuf, self->alt_linebuf->line, 0);
|
linebuf_copy_line_to(self->main_linebuf, self->alt_linebuf->line, 0);
|
||||||
self->cursor->y++;
|
if (self->cursor->y + 1 < self->lines) self->cursor->y++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user