From f0a716f48414c3dc6cc454b3fb09ead70f1e478d Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 29 Apr 2009 17:50:52 +0000 Subject: [PATCH] Use a u_char so top-bit-set update the cursor as well. --- tmux.h | 4 ++-- tty.c | 4 ++-- 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 @@ -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 @@ -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;