summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2017-05-10 18:40:13 +0000
committernicm <nicm>2017-05-10 18:40:13 +0000
commit8ab2753521dfa475d3b284a34752f2d5bbe5c74e (patch)
tree509446c1791431bb45f740e3215ce57d4eb13fdc /tty.c
parent2dc9bfd93afd26b76dfdbf4a22338a5ef85893bf (diff)
Move to the right cursor position before using spaces to clear.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c1
1 files changed, 1 insertions, 0 deletions
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);
}