diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-06 17:17:31 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-06 17:17:31 +0000 |
commit | ac332b6e79b9518f1f0e7c9e563f93ce696c252b (patch) | |
tree | 95f52f18204eca46ffdc01fe4f4795cfaf42b323 | |
parent | 596080a6994bf834a570193c054f115c0769e4fa (diff) | |
download | rtmux-ac332b6e79b9518f1f0e7c9e563f93ce696c252b.tar.gz rtmux-ac332b6e79b9518f1f0e7c9e563f93ce696c252b.tar.bz2 rtmux-ac332b6e79b9518f1f0e7c9e563f93ce696c252b.zip |
ich emulation should maintain cursor position; bug spotted by merdely.
-rw-r--r-- | tty.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tty.c,v 1.20 2008-05-31 09:34:36 nicm Exp $ */ +/* $Id: tty.c,v 1.21 2008-06-06 17:17:31 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -467,6 +467,7 @@ tty_vwrite(struct tty *tty, unused struct screen *s, int cmd, va_list ap) while (ua-- > 0) tty_putc(tty, ' '); tty_puts(tty, exit_insert_mode); + tty_puts(tty, tparm(cursor_address, s->cy, s->cx)); } break; case TTY_DELETECHARACTER: |