diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-08 18:02:31 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-07-08 18:02:31 +0000 |
commit | 9875be3327f8d97a23a515679b9b09f698138af4 (patch) | |
tree | 9311d980d82f38345ab4d03ecb9a08e8f54c739e | |
parent | a182502af0a631cd3a3dcf63e89e1139e3440ecb (diff) | |
download | rtmux-9875be3327f8d97a23a515679b9b09f698138af4.tar.gz rtmux-9875be3327f8d97a23a515679b9b09f698138af4.tar.bz2 rtmux-9875be3327f8d97a23a515679b9b09f698138af4.zip |
When reinitialising the screen, do not omit to clear the last line.
-rw-r--r-- | screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |