mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 19:58:48 +00:00
Move mode set/reset after sync so cursor doesn't flicker, from Avi
Halachmi.
This commit is contained in:
parent
f29d3c7f74
commit
bc4681c83d
@ -604,8 +604,8 @@ screen_redraw_screen(struct client *c)
|
||||
return;
|
||||
|
||||
screen_redraw_set_context(c, &ctx);
|
||||
tty_update_mode(&c->tty, c->tty.mode, NULL);
|
||||
tty_sync_start(&c->tty);
|
||||
tty_update_mode(&c->tty, c->tty.mode, NULL);
|
||||
|
||||
if (flags & (CLIENT_REDRAWWINDOW|CLIENT_REDRAWBORDERS)) {
|
||||
log_debug("%s: redrawing borders", c->name);
|
||||
@ -640,8 +640,8 @@ screen_redraw_pane(struct client *c, struct window_pane *wp)
|
||||
return;
|
||||
|
||||
screen_redraw_set_context(c, &ctx);
|
||||
tty_update_mode(&c->tty, c->tty.mode, NULL);
|
||||
tty_sync_start(&c->tty);
|
||||
tty_update_mode(&c->tty, c->tty.mode, NULL);
|
||||
|
||||
screen_redraw_draw_pane(&ctx, wp);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user