diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-11-18 01:28:43 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-11-18 01:28:43 +0000 |
commit | 9829cfc8d2e32f587ec1a5de08f3c6bc4a20cb4b (patch) | |
tree | a2211645c71a0413a30def2ff3d6e378cdd31603 | |
parent | 4c2e03704602fe289e5d7042e26fe25e96b353ad (diff) | |
download | rtmux-9829cfc8d2e32f587ec1a5de08f3c6bc4a20cb4b.tar.gz rtmux-9829cfc8d2e32f587ec1a5de08f3c6bc4a20cb4b.tar.bz2 rtmux-9829cfc8d2e32f587ec1a5de08f3c6bc4a20cb4b.zip |
Sync OpenBSD patchset 544:
Permit top-bit-set characters to be entered in the status line. They could
already be set from the shell and are just passed through when printing (so
invisible characters or displaying on terminals with different character sets
may cause problems).
Note that entering UTF-8 may not work and in any case currently the status line
cannot display it correctly (outside of status-left/status-right).
-rw-r--r-- | status.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.127 2009-11-08 23:11:23 tcunha Exp $ */ +/* $Id: status.c,v 1.128 2009-11-18 01:28:43 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -976,7 +976,7 @@ status_prompt_key(struct client *c, int key) status_prompt_clear(c); break; case MODEKEY_OTHER: - if (key < 32 || key > 126) + if (key < 32 || key == 127) break; c->prompt_buffer = xrealloc(c->prompt_buffer, 1, size + 2); |