diff options
author | nicm <nicm> | 2021-06-10 07:59:31 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-06-10 07:59:31 +0000 |
commit | a35c897f0f16a9dc578c9ebfe4c4c4b0d73002aa (patch) | |
tree | b923cde5c37d167ca9b8c91c7e1a0e20bd81cb1e | |
parent | 1e879ef458a21ea4dd266761757537fbbf567eee (diff) | |
download | rtmux-a35c897f0f16a9dc578c9ebfe4c4c4b0d73002aa.tar.gz rtmux-a35c897f0f16a9dc578c9ebfe4c4c4b0d73002aa.tar.bz2 rtmux-a35c897f0f16a9dc578c9ebfe4c4c4b0d73002aa.zip |
Do not clear region based on current cursor position, this is not
necessary anymore and causes problems, GitHub issue 2735.
-rw-r--r-- | tty.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -1005,13 +1005,8 @@ tty_redraw_region(struct tty *tty, const struct tty_ctx *ctx) return; } - if (ctx->ocy < ctx->orupper || ctx->ocy > ctx->orlower) { - for (i = ctx->ocy; i < ctx->sy; i++) - tty_draw_pane(tty, ctx, i); - } else { - for (i = ctx->orupper; i <= ctx->orlower; i++) - tty_draw_pane(tty, ctx, i); - } + for (i = ctx->orupper; i <= ctx->orlower; i++) + tty_draw_pane(tty, ctx, i); } /* Is this position visible in the pane? */ |