Same as previous for \r alone.

This commit is contained in:
nicm 2017-08-21 21:02:58 +00:00
parent 7ec2a2b9ce
commit bbe9da063e

2
tty.c
View File

@ -1623,7 +1623,7 @@ tty_cursor(struct tty *tty, u_int cx, u_int cy)
*/
/* To left edge. */
if (cx == 0) {
if (cx == 0 && (!tty_use_margin(tty) || tty->rleft == 0)) {
tty_putc(tty, '\r');
goto out;
}