aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-04-29 17:50:52 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-04-29 17:50:52 +0000
commitf0a716f48414c3dc6cc454b3fb09ead70f1e478d (patch)
treefd09147dd2106cdc34f994b799e478082f5ae60a
parentcd214f8f6a6f9cdb8406bdc972e4c181ce6ba550 (diff)
downloadrtmux-f0a716f48414c3dc6cc454b3fb09ead70f1e478d.tar.gz
rtmux-f0a716f48414c3dc6cc454b3fb09ead70f1e478d.tar.bz2
rtmux-f0a716f48414c3dc6cc454b3fb09ead70f1e478d.zip
Use a u_char so top-bit-set update the cursor as well.
-rw-r--r--tmux.h4
-rw-r--r--tty.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/tmux.h b/tmux.h
index 5d2814c0..7a795f99 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.303 2009-04-27 17:27:36 nicm Exp $ */
+/* $Id: tmux.h,v 1.304 2009-04-29 17:50:52 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1090,7 +1090,7 @@ void tty_putcode(struct tty *, enum tty_code_code);
void tty_putcode1(struct tty *, enum tty_code_code, int);
void tty_putcode2(struct tty *, enum tty_code_code, int, int);
void tty_puts(struct tty *, const char *);
-void tty_putc(struct tty *, char);
+void tty_putc(struct tty *, u_char);
void tty_init(struct tty *, char *, char *);
void tty_start_tty(struct tty *);
void tty_stop_tty(struct tty *);
diff --git a/tty.c b/tty.c
index 92f9e672..3e72f585 100644
--- a/tty.c
+++ b/tty.c
@@ -1,4 +1,4 @@
-/* $Id: tty.c,v 1.93 2009-04-29 17:06:45 nicm Exp $ */
+/* $Id: tty.c,v 1.94 2009-04-29 17:50:52 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -306,7 +306,7 @@ tty_puts(struct tty *tty, const char *s)
}
void
-tty_putc(struct tty *tty, char ch)
+tty_putc(struct tty *tty, u_char ch)
{
u_int sx;