diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-06-25 15:49:27 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-06-25 15:49:27 +0000 |
commit | 7597cb68345d1ff96c34d61f73cbeba1e98484ec (patch) | |
tree | 08837490edee14c87a2be7cde2106d7274b7ac72 /input.c | |
parent | 4f2e5f8c50d401b3d57bbf52934bad67475b2b13 (diff) | |
download | rtmux-7597cb68345d1ff96c34d61f73cbeba1e98484ec.tar.gz rtmux-7597cb68345d1ff96c34d61f73cbeba1e98484ec.tar.bz2 rtmux-7597cb68345d1ff96c34d61f73cbeba1e98484ec.zip |
Pass window titles through vis(1). <0x20 is dropped anyway by the input state
machine but top-bit-set nonprintables could cause trouble, and they are neater
like this anyway.
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.78 2009-05-04 17:58:26 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.2 2009/06/03 19:33:04 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -475,7 +475,7 @@ input_state_string_next(u_char ch, struct input_ctx *ictx) return; } - if (ch >= 0x20 && ch != 0x7f) { + if (ch >= 0x20) { if (input_add_string(ictx, ch) != 0) input_state(ictx, input_state_first); return; |