aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2017-05-12 23:10:19 +0000
committernicm <nicm>2017-05-12 23:10:19 +0000
commit50f1f1dce964d0f09d2ea2abba2abe093e775194 (patch)
tree151d128e7cb050436b3be1a6108debbae1a22e1c /tty.c
parent0264ef094a79c828e72e03052b9969cd80b28d16 (diff)
downloadrtmux-50f1f1dce964d0f09d2ea2abba2abe093e775194.tar.gz
rtmux-50f1f1dce964d0f09d2ea2abba2abe093e775194.tar.bz2
rtmux-50f1f1dce964d0f09d2ea2abba2abe093e775194.zip
Compare >= for columns not >.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index a03e9a0d..d638f7d0 100644
--- a/tty.c
+++ b/tty.c
@@ -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)) {