diff options
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; } |