1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

When reinitialising the screen, do not omit to clear the last line.

This commit is contained in:
Nicholas Marriott 2009-07-08 05:56:11 +00:00
parent 084d07f4eb
commit 8c497ecac0

View File

@ -54,7 +54,7 @@ screen_reinit(struct screen *s)
screen_reset_tabs(s);
grid_clear_lines(s->grid, s->grid->hsize, s->grid->sy - 1);
grid_clear_lines(s->grid, s->grid->hsize, s->grid->sy);
screen_clear_selection(s);
}