diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-29 17:50:52 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-29 17:50:52 +0000 |
commit | f0a716f48414c3dc6cc454b3fb09ead70f1e478d (patch) | |
tree | fd09147dd2106cdc34f994b799e478082f5ae60a | |
parent | cd214f8f6a6f9cdb8406bdc972e4c181ce6ba550 (diff) | |
download | rtmux-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.h | 4 | ||||
-rw-r--r-- | tty.c | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -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 *); @@ -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; |