mirror of
https://github.com/tmux/tmux.git
synced 2025-04-14 07:18:49 +00:00
Compare >= for columns not >.
This commit is contained in:
parent
0264ef094a
commit
50f1f1dce9
2
tty.c
2
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. */
|
/* Full lines can be scrolled away to clear them. */
|
||||||
if (px == 0 &&
|
if (px == 0 &&
|
||||||
px + nx > tty->sx &&
|
px + nx >= tty->sx &&
|
||||||
ny > 2 &&
|
ny > 2 &&
|
||||||
tty_term_has(tty->term, TTYC_CSR) &&
|
tty_term_has(tty->term, TTYC_CSR) &&
|
||||||
tty_term_has(tty->term, TTYC_INDN)) {
|
tty_term_has(tty->term, TTYC_INDN)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user