diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-07 00:05:23 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-07 00:05:23 +0000 |
commit | c8e27271e240bbdab2925a00c09a17e613399ae9 (patch) | |
tree | 81eec95060b63ed2cc17a83a2c3d43a8d4826c76 | |
parent | fe9320a064e60663e93fb9d1ca77374cd4158bdb (diff) | |
download | rtmux-c8e27271e240bbdab2925a00c09a17e613399ae9.tar.gz rtmux-c8e27271e240bbdab2925a00c09a17e613399ae9.tar.bz2 rtmux-c8e27271e240bbdab2925a00c09a17e613399ae9.zip |
Update cursor y on newline otherwise RI gets screwed up at y=0.
-rw-r--r-- | tty.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tty.c,v 1.64 2009-01-28 19:52:21 nicm Exp $ */ +/* $Id: tty.c,v 1.65 2009-02-07 00:05:23 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -539,6 +539,7 @@ tty_cmd_linefeed(struct tty *tty, struct screen *s, u_int oy, unused va_list ap) tty_cursor(tty, s->cx, s->cy, oy); tty_putc(tty, '\n'); + tty->cy++; } void |