diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-10-13 08:37:15 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-10-13 08:37:15 +0000 |
commit | 5d78371628a719d5d1f0e5a0ecc99b885f4e7d15 (patch) | |
tree | 705077decc98573a285c42f3471811fe44a34c1b | |
parent | 9294cb099ff371998055410bb3cfd7be0a518368 (diff) | |
download | rtmux-5d78371628a719d5d1f0e5a0ecc99b885f4e7d15.tar.gz rtmux-5d78371628a719d5d1f0e5a0ecc99b885f4e7d15.tar.bz2 rtmux-5d78371628a719d5d1f0e5a0ecc99b885f4e7d15.zip |
Don't try to use \n across scroll region when doing \r\n either.
-rw-r--r-- | tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1004,7 +1004,7 @@ tty_cursor(struct tty *tty, u_int cx, u_int cy) } /* Zero on the next line. */ - if (cx == 0 && cy == thisy + 1) { + if (cx == 0 && cy == thisy + 1 && thisy != tty->rlower) { tty_putc(tty, '\r'); tty_putc(tty, '\n'); goto out; |