aboutsummaryrefslogtreecommitdiff
path: root/tty-write.c
diff options
context:
space:
mode:
Diffstat (limited to 'tty-write.c')
-rw-r--r--tty-write.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tty-write.c b/tty-write.c
index 409ed08c..ddcca395 100644
--- a/tty-write.c
+++ b/tty-write.c
@@ -1,4 +1,4 @@
-/* $Id: tty-write.c,v 1.8 2009-01-27 21:39:15 nicm Exp $ */
+/* $Id: tty-write.c,v 1.9 2009-01-28 19:52:21 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -57,7 +57,7 @@ tty_vwrite_window(void *ptr, enum tty_cmd cmd, va_list ap)
}
void
-tty_write_cursor_off(void *ptr)
+tty_write_update_mode(void *ptr, int mode)
{
struct window_pane *wp = ptr;
struct client *c;
@@ -73,6 +73,7 @@ tty_write_cursor_off(void *ptr)
if (c->flags & CLIENT_SUSPENDED)
continue;
- tty_cursor_off(&c->tty);
+ tty_update_mode(&c->tty, mode);
}
}
+