Compare >= for columns not >.

pull/581/merge
nicm 2017-05-12 23:10:19 +00:00
parent 0264ef094a
commit 50f1f1dce9
1 changed files with 1 additions and 1 deletions

2
tty.c
View File

@ -832,7 +832,7 @@ tty_clear_area(struct tty *tty, const struct window_pane *wp, u_int py,
/* Full lines can be scrolled away to clear them. */
if (px == 0 &&
px + nx > tty->sx &&
px + nx >= tty->sx &&
ny > 2 &&
tty_term_has(tty->term, TTYC_CSR) &&
tty_term_has(tty->term, TTYC_INDN)) {