=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/status.c,v retrieving revision 1.60 retrieving revision 1.61 diff -u -r1.60 -r1.61 --- src/usr.bin/tmux/status.c 2010/03/27 15:06:40 1.60 +++ src/usr.bin/tmux/status.c 2010/03/31 18:05:14 1.61 @@ -1,4 +1,4 @@ -/* $OpenBSD: status.c,v 1.60 2010/03/27 15:06:40 nicm Exp $ */ +/* $OpenBSD: status.c,v 1.61 2010/03/31 18:05:14 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1046,7 +1046,7 @@ status_prompt_clear(c); break; case MODEKEY_OTHER: - if (key < 32 || key == 127) + if ((key & 0xff00) != 0 || key < 32 || key == 127) break; c->prompt_buffer = xrealloc(c->prompt_buffer, 1, size + 2);