mirror of
https://github.com/tmux/tmux.git
synced 2025-01-07 16:28:48 +00:00
Remove unnecessary duplicate check.
This commit is contained in:
parent
713f3b05f3
commit
96b66f8fc3
5
tty.c
5
tty.c
@ -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)) ||
|
if ((!tty_pane_full_width(tty, ctx) && !tty_use_margin(tty)) ||
|
||||||
tty_fake_bce(tty, wp, ctx->bg) ||
|
tty_fake_bce(tty, wp, ctx->bg) ||
|
||||||
!tty_term_has(tty->term, TTYC_CSR)) {
|
!tty_term_has(tty->term, TTYC_CSR)) {
|
||||||
if (tty_large_region(tty, ctx))
|
tty_redraw_region(tty, ctx);
|
||||||
wp->flags |= PANE_REDRAW;
|
|
||||||
else
|
|
||||||
tty_redraw_region(tty, ctx);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user