From 9875be3327f8d97a23a515679b9b09f698138af4 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 8 Jul 2009 18:02:31 +0000 Subject: [PATCH] When reinitialising the screen, do not omit to clear the last line. --- screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screen.c b/screen.c index 2a3bd181..463c0848 100644 --- a/screen.c +++ b/screen.c @@ -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 @@ -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); }