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 /input.c | |
parent | 46f5e42145ed34567b29c73032adbd8a41f5dfa2 (diff) |
Disable UTF-8 by default and add options to enable it.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: input.c,v 1.66 2008-11-04 20:41:10 nicm Exp $ */ +/* $Id: input.c,v 1.67 2008-11-16 13:28:59 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -510,7 +510,7 @@ input_state_utf8(u_char ch, struct input_ctx *ictx) void input_handle_character(u_char ch, struct input_ctx *ictx) { - if (ch > 0x7f) { + if (ictx->w->flags & WINDOW_UTF8 && ch > 0x7f) { /* * UTF-8 sequence. * |