mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 01:48:47 +00:00
When reinitialising the screen, do not omit to clear the last line.
This commit is contained in:
parent
a182502af0
commit
9875be3327
4
screen.c
4
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 <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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user