From 7a82e86827e3d863a6dc4f1d50985f287d1ff86b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 8 Dec 2008 16:19:51 +0000 Subject: Make window options work the same was as session options, add mode-fg/mode-bg options, force -g for global on set/show/setw/showw/ --- input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'input.c') diff --git a/input.c b/input.c index 2ff1ec5e..9f5cb6b0 100644 --- a/input.c +++ b/input.c @@ -1,4 +1,4 @@ -/* $Id: input.c,v 1.68 2008-12-05 20:04:06 nicm Exp $ */ +/* $Id: input.c,v 1.69 2008-12-08 16:19:51 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -512,7 +512,7 @@ input_state_utf8(u_char ch, struct input_ctx *ictx) void input_handle_character(u_char ch, struct input_ctx *ictx) { - if (ictx->w->flags & WINDOW_UTF8 && ch > 0x7f) { + if (ch > 0x7f && options_get_number(&ictx->w->options, "utf8")) { /* * UTF-8 sequence. * -- cgit