From 8ab2753521dfa475d3b284a34752f2d5bbe5c74e Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 10 May 2017 18:40:13 +0000 Subject: [PATCH] Move to the right cursor position before using spaces to clear. --- tty.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tty.c b/tty.c index a1219069..5fb56148 100644 --- a/tty.c +++ b/tty.c @@ -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); }