mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-23 14:28:55 +01:00
Don't redraw status if it has already been redrawed as part of entire screen.
This commit is contained in:
parent
afd67ce89f
commit
5b7e882bf6
@ -1,4 +1,4 @@
|
||||
/* $Id: screen-redraw.c,v 1.25 2009-02-12 00:18:05 nicm Exp $ */
|
||||
/* $Id: screen-redraw.c,v 1.26 2009-02-21 17:52:25 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -39,6 +39,7 @@ screen_redraw_screen(struct client *c, struct screen *s)
|
||||
if (s != NULL) {
|
||||
for (i = 0; i < screen_size_y(s); i++)
|
||||
screen_redraw_line(c, s, 0, i);
|
||||
screen_redraw_status(c);
|
||||
return;
|
||||
}
|
||||
|
||||
|
3
server.c
3
server.c
@ -1,4 +1,4 @@
|
||||
/* $Id: server.c,v 1.123 2009-02-16 19:29:17 nicm Exp $ */
|
||||
/* $Id: server.c,v 1.124 2009-02-21 17:52:25 nicm Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||
@ -506,6 +506,7 @@ server_check_redraw(struct client *c)
|
||||
server_redraw_locked(c);
|
||||
else
|
||||
screen_redraw_screen(c, NULL);
|
||||
c->flags &= ~CLIENT_STATUS;
|
||||
}
|
||||
|
||||
if (c->flags & CLIENT_STATUS)
|
||||
|
Loading…
Reference in New Issue
Block a user