diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-12-01 20:42:31 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-12-01 20:42:31 +0000 |
commit | 2397083f7e9dd219f45c370d662b3c44a0799456 (patch) | |
tree | c54385770600c934764172afda8e9275dbb0bb6d | |
parent | fc5f8804ec92389fcc9f3aab1fa0c7777e3f0a56 (diff) | |
download | rtmux-2397083f7e9dd219f45c370d662b3c44a0799456.tar.gz rtmux-2397083f7e9dd219f45c370d662b3c44a0799456.tar.bz2 rtmux-2397083f7e9dd219f45c370d662b3c44a0799456.zip |
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; |