aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/tty.c b/tty.c
index b075647a..1b1ae480 100644
--- a/tty.c
+++ b/tty.c
@@ -142,6 +142,7 @@ tty_resize(struct tty *tty)
sx = 80;
sy = 24;
}
+ log_debug("%s: %s now %ux%u", __func__, tty->path, sx, sy);
if (!tty_set_size(tty, sx, sy))
return (0);
@@ -997,10 +998,7 @@ tty_cmd_linefeed(struct tty *tty, const struct tty_ctx *ctx)
if ((!tty_pane_full_width(tty, ctx) && !tty_use_margin(tty)) ||
tty_fake_bce(tty, wp, ctx->bg) ||
!tty_term_has(tty->term, TTYC_CSR)) {
- if (tty_large_region(tty, ctx))
- wp->flags |= PANE_REDRAW;
- else
- tty_redraw_region(tty, ctx);
+ tty_redraw_region(tty, ctx);
return;
}