mirror of
https://github.com/tmux/tmux.git
synced 2026-10-15 16:04:34 +00:00
Add a temporary var.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
/* $OpenBSD: screen-redraw.c,v 1.166 2026/10/14 12:48:50 nicm Exp $ */
|
/* $OpenBSD: screen-redraw.c,v 1.167 2026/10/14 12:51:00 nicm Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2026 Nicholas Marriott <nicholas.marriott@gmail.com>
|
* Copyright (c) 2026 Nicholas Marriott <nicholas.marriott@gmail.com>
|
||||||
@@ -2190,6 +2190,7 @@ void
|
|||||||
redraw_client_damage(struct client *c)
|
redraw_client_damage(struct client *c)
|
||||||
{
|
{
|
||||||
struct window *w = c->session->curw->window;
|
struct window *w = c->session->curw->window;
|
||||||
|
struct tty *tty = &c->tty;
|
||||||
struct window_pane *wp;
|
struct window_pane *wp;
|
||||||
struct redraw_scene *scene;
|
struct redraw_scene *scene;
|
||||||
struct redraw_draw_ctx dctx;
|
struct redraw_draw_ctx dctx;
|
||||||
@@ -2211,8 +2212,8 @@ redraw_client_damage(struct client *c)
|
|||||||
wp->active_border_gc_set = 0;
|
wp->active_border_gc_set = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
tty_sync_start(&c->tty);
|
tty_sync_start(tty);
|
||||||
tty_update_mode(&c->tty, c->tty.mode & ~CURSOR_MODES, NULL);
|
tty_update_mode(tty, c->tty.mode & ~CURSOR_MODES, NULL);
|
||||||
|
|
||||||
TAILQ_FOREACH(rd, &w->damage, entry) {
|
TAILQ_FOREACH(rd, &w->damage, entry) {
|
||||||
x0 = (rd->x > ox) ? rd->x : ox;
|
x0 = (rd->x > ox) ? rd->x : ox;
|
||||||
|
|||||||
Reference in New Issue
Block a user