Use a u_char so top-bit-set update the cursor as well.

pull/1/head
Nicholas Marriott 2009-04-29 17:50:52 +00:00
parent cd214f8f6a
commit f0a716f484
2 changed files with 4 additions and 4 deletions

4
tmux.h
View File

@ -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 *);

4
tty.c
View File

@ -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;