diff options
author | nicm <nicm> | 2016-10-12 13:03:27 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-10-12 13:03:27 +0000 |
commit | 68bebe1fb7dfe5d152a2734c5bd572b1db641a4c (patch) | |
tree | ebd451ee92e938399563bb994b572639af3e75cd /tmux.h | |
parent | 22a8afee9e8dcbe45a371ca72af0169b7c94eac5 (diff) | |
download | rtmux-68bebe1fb7dfe5d152a2734c5bd572b1db641a4c.tar.gz rtmux-68bebe1fb7dfe5d152a2734c5bd572b1db641a4c.tar.bz2 rtmux-68bebe1fb7dfe5d152a2734c5bd572b1db641a4c.zip |
The repeat prompt in both emacs and vi (and the old one in tmux) doesn't
support line editing and instead executes a command as soon as a
non-number key is pressed. Add a -N flag to command-prompt for the same
in copy mode. Reported by Theo Buehler.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1269,6 +1269,7 @@ struct client { u_int prompt_hindex; #define PROMPT_SINGLE 0x1 +#define PROMPT_NUMERIC 0x2 int prompt_flags; struct mode_key_data prompt_mdata; @@ -1920,7 +1921,7 @@ void status_prompt_set(struct client *, const char *, const char *, int (*)(void *, const char *), void (*)(void *), void *, int); void status_prompt_clear(struct client *); int status_prompt_redraw(struct client *); -void status_prompt_key(struct client *, key_code); +int status_prompt_key(struct client *, key_code); void status_prompt_update(struct client *, const char *, const char *); void status_prompt_load_history(void); void status_prompt_save_history(void); |