This commit is contained in:
Kovid Goyal 2021-04-03 06:48:10 +05:30
parent e56d259b8e
commit b5ac06e652
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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;
INDEX_DOWN;
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;