diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/tty.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c index 3eb14ed4ef2..63b85e7a549 100644 --- a/usr.bin/tmux/tty.c +++ b/usr.bin/tmux/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.235 2017/02/08 13:53:32 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.236 2017/02/08 15:24:48 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -998,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; } |