Move to the right cursor position before using spaces to clear.

pull/248/merge
nicm 2017-05-10 18:40:13 +00:00
parent 2dc9bfd93a
commit 8ab2753521
1 changed files with 1 additions and 0 deletions

1
tty.c
View File

@ -789,6 +789,7 @@ tty_clear_line(struct tty *tty, const struct window_pane *wp, u_int py,
}
/* Couldn't use an escape sequence, use spaces. */
tty_cursor(tty, px, py);
tty_repeat_space(tty, nx);
}