diff options
author | Tiago Cunha <tcunha@gmx.com> | 2011-12-06 18:47:14 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2011-12-06 18:47:14 +0000 |
commit | 620a87db2565731eb6cbc678cdaabec76f5542d7 (patch) | |
tree | 837f31e8ad92e57ce8af6c2d0038853772ca7701 | |
parent | 08014af243f7e387b01fbcbb6311b70fe0453fcd (diff) | |
download | rtmux-620a87db2565731eb6cbc678cdaabec76f5542d7.tar.gz rtmux-620a87db2565731eb6cbc678cdaabec76f5542d7.tar.bz2 rtmux-620a87db2565731eb6cbc678cdaabec76f5542d7.zip |
Sync OpenBSD patchset 983:
Make M-f and M-b work the same at the command prompt as in copy mode,
pointed out by Romain Francoise.
-rw-r--r-- | status.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1156,11 +1156,8 @@ status_prompt_key(struct client *c, int key) /* Find the separator at the end of the word. */ while (c->prompt_index != size) { c->prompt_index++; - if (strchr(wsep, c->prompt_buffer[c->prompt_index])) { - /* Go back to the word. */ - c->prompt_index--; + if (strchr(wsep, c->prompt_buffer[c->prompt_index])) break; - } } c->flags |= CLIENT_STATUS; |