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

This commit is contained in:
Nicholas Marriott 2009-07-08 18:02:31 +00:00
parent a182502af0
commit 9875be3327

View File

@ -1,4 +1,4 @@
/* $Id: screen.c,v 1.88 2009-06-25 20:27:31 nicm Exp $ */
/* $OpenBSD: screen.c,v 1.6 2009/07/08 05:56:11 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -53,7 +53,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);
}