mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Do not redraw at all if nothing has changed.
This commit is contained in:
@ -434,6 +434,9 @@ screen_redraw_screen(struct client *c)
|
||||
return;
|
||||
|
||||
flags = screen_redraw_update(c, c->flags);
|
||||
if ((flags & CLIENT_ALLREDRAWFLAGS) == 0)
|
||||
return;
|
||||
|
||||
screen_redraw_set_context(c, &ctx);
|
||||
tty_sync_start(&c->tty);
|
||||
|
||||
|
Reference in New Issue
Block a user