diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-21 19:25:58 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-02-21 19:25:58 +0000 |
commit | 3969b59ae5f9a40ac2b869b7b58c4fc83fc25749 (patch) | |
tree | 1a1fd776d48b1869bde580131906d7b0ae2d04f8 /tty-write.c | |
parent | 5b7e882bf663a1d21b8c09cac127894308cf5f75 (diff) | |
download | rtmux-3969b59ae5f9a40ac2b869b7b58c4fc83fc25749.tar.gz rtmux-3969b59ae5f9a40ac2b869b7b58c4fc83fc25749.tar.bz2 rtmux-3969b59ae5f9a40ac2b869b7b58c4fc83fc25749.zip |
Don't turn cursor off unless actually drawing something.
Diffstat (limited to 'tty-write.c')
-rw-r--r-- | tty-write.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tty-write.c b/tty-write.c index ffbb4673..4e153fe7 100644 --- a/tty-write.c +++ b/tty-write.c @@ -1,4 +1,4 @@ -/* $Id: tty-write.c,v 1.11 2009-02-11 07:02:34 nicm Exp $ */ +/* $Id: tty-write.c,v 1.12 2009-02-21 19:25:58 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -53,6 +53,8 @@ tty_vwrite_cmd(struct window_pane *wp, enum tty_cmd cmd, va_list ap) continue; if (c->session->curw->window == wp->window) { + tty_update_mode(&c->tty, c->tty.mode & ~MODE_CURSOR); + va_copy(aq, ap); tty_vwrite(&c->tty, wp, cmd, aq); va_end(aq); |