diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-02-08 16:01:17 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-02-08 16:01:17 +0000 |
commit | e09625e38b361b8ce0b8fa88851f447144f1a718 (patch) | |
tree | 6a2e8c874da3aa06c38a929d47b734d33f968d42 /tty.c | |
parent | 9af5f3ff812044a157a120ba7e2c70283b3b36dd (diff) | |
parent | 96b66f8fc32867899653dd898f53285741ab8c83 (diff) | |
download | rtmux-e09625e38b361b8ce0b8fa88851f447144f1a718.tar.gz rtmux-e09625e38b361b8ce0b8fa88851f447144f1a718.tar.bz2 rtmux-e09625e38b361b8ce0b8fa88851f447144f1a718.zip |
Merge branch 'obsd-master'
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; } |