mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 19:39:04 +00:00
Do not redraw at all if nothing has changed.
This commit is contained in:
parent
bb107d2979
commit
ae73fd363b
@ -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);
|
||||
|
||||
|
@ -328,7 +328,7 @@ tty_default_features(int *feat, const char *name, u_int version)
|
||||
.features = TTY_FEATURES_BASE_MODERN_XTERM ",ccolour,cstyle,focus,overline,usstyle"
|
||||
},
|
||||
{ .name = "rxvt-unicode",
|
||||
.features = "256,title"
|
||||
.features = "256,ccolour,cstyle,title"
|
||||
},
|
||||
{ .name = "iTerm2",
|
||||
.features = TTY_FEATURES_BASE_MODERN_XTERM ",cstyle,margins,sync"
|
||||
|
Loading…
Reference in New Issue
Block a user