aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-02-07 00:05:23 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-02-07 00:05:23 +0000
commitc8e27271e240bbdab2925a00c09a17e613399ae9 (patch)
tree81eec95060b63ed2cc17a83a2c3d43a8d4826c76
parentfe9320a064e60663e93fb9d1ca77374cd4158bdb (diff)
downloadrtmux-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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 82ef0c15..83b75929 100644
--- a/tty.c
+++ b/tty.c
@@ -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