summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-06-03 19:33:04 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-06-03 19:33:04 +0000
commit2faec76afad7f1a2e4096d04d1d894dcfb646cbf (patch)
tree7ed4e4e47fbd5ebb6a871cc366eac45e991ca716 /input.c
parent655a1aea6cb6121c57240fee7ea4c85c478865c2 (diff)
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. Suggested by deraadt a few days ago.
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 9483bae1..35ae4164 100644
--- a/input.c
+++ b/input.c
@@ -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;