mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 10:08:47 +00:00
Do not clear region based on current cursor position, this is not necessary
anymore and causes problems, GitHub issue 2735.
This commit is contained in:
parent
7a236869ba
commit
607e6b1c33
9
tty.c
9
tty.c
@ -1005,13 +1005,8 @@ tty_redraw_region(struct tty *tty, const struct tty_ctx *ctx)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctx->ocy < ctx->orupper || ctx->ocy > ctx->orlower) {
|
for (i = ctx->orupper; i <= ctx->orlower; i++)
|
||||||
for (i = ctx->ocy; i < ctx->sy; i++)
|
tty_draw_pane(tty, ctx, i);
|
||||||
tty_draw_pane(tty, ctx, i);
|
|
||||||
} else {
|
|
||||||
for (i = ctx->orupper; i <= ctx->orlower; i++)
|
|
||||||
tty_draw_pane(tty, ctx, i);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Is this position visible in the pane? */
|
/* Is this position visible in the pane? */
|
||||||
|
Loading…
Reference in New Issue
Block a user