mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-26 10:03:08 +01:00
Clear correct range.
This commit is contained in:
parent
b0d8393c05
commit
23e7da1ccb
4
log.c
4
log.c
@ -1,4 +1,4 @@
|
||||
/* $Id: log.c,v 1.8 2008-09-26 06:45:26 nicm Exp $ */
|
||||
/* $Id: log.c,v 1.9 2008-10-09 05:31:04 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -65,7 +65,7 @@ log_open_tty(int level)
|
||||
tzset();
|
||||
}
|
||||
|
||||
/* Open logging to tty. */
|
||||
/* Open logging to file. */
|
||||
void
|
||||
log_open_file(int level, const char *path)
|
||||
{
|
||||
|
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user