mirror of
https://github.com/tmux/tmux.git
synced 2025-11-05 10:26:04 +00:00
Clear correct range.
This commit is contained in:
6
screen.c
6
screen.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: screen.c,v 1.75 2008-09-29 16:59:47 nicm Exp $ */
|
||||
/* $Id: screen.c,v 1.76 2008-10-09 05:31:04 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@@ -48,9 +48,7 @@ screen_reinit(struct screen *s)
|
||||
|
||||
s->mode = MODE_CURSOR;
|
||||
|
||||
/* XXX */
|
||||
grid_clear_lines(
|
||||
s->grid, s->grid->hsize, s->grid->hsize + s->grid->sy - 1);
|
||||
grid_clear_lines(s->grid, s->grid->hsize, s->grid->sy - 1);
|
||||
|
||||
screen_clear_selection(s);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user