diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-11-16 13:28:59 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-11-16 13:28:59 +0000 |
commit | 5ca710d9e3284393dfbd294915e9e4251b0fe728 (patch) | |
tree | a7d6dc2e37673d14fe88ec6bf68e644271c67e92 /tty.c | |
parent | 46f5e42145ed34567b29c73032adbd8a41f5dfa2 (diff) | |
download | rtmux-5ca710d9e3284393dfbd294915e9e4251b0fe728.tar.gz rtmux-5ca710d9e3284393dfbd294915e9e4251b0fe728.tar.bz2 rtmux-5ca710d9e3284393dfbd294915e9e4251b0fe728.zip |
Disable UTF-8 by default and add options to enable it.
Diffstat (limited to 'tty.c')
-rw-r--r-- | tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tty.c,v 1.50 2008-11-16 10:10:26 nicm Exp $ */ +/* $Id: tty.c,v 1.51 2008-11-16 13:28:59 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -888,7 +888,7 @@ tty_cmd_cell(struct tty *tty, unused struct screen *s, va_list ap) tty_attributes(tty, gc); /* If not UTF8 multibyte, write directly. */ - if (gc->data < 0xff) { + if (gc->data <= 0xff) { tty_putc(tty, gc->data); return; } |