diff options
author | nicm <nicm> | 2017-01-06 11:57:03 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-01-06 11:57:03 +0000 |
commit | 461217d0f0b347b688d6f41dcc997b984951aac1 (patch) | |
tree | e3a08fd8b85a632ab0e66e22e022e0b09ca59b13 /cmd-confirm-before.c | |
parent | 9a56671a7565322142b9871c5fe1d945ce200b9a (diff) |
Incremental search in copy mode (on for emacs keys by default) - much
the same as normal searching but updates the cursor position and marked
search terms as you type. C-r and C-s in the prompt repeat the search,
once finished searching (with Enter), N and n work as before.
Diffstat (limited to 'cmd-confirm-before.c')
-rw-r--r-- | cmd-confirm-before.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-confirm-before.c b/cmd-confirm-before.c index d468bbc3..a2ffd059 100644 --- a/cmd-confirm-before.c +++ b/cmd-confirm-before.c @@ -31,7 +31,7 @@ static enum cmd_retval cmd_confirm_before_exec(struct cmd *, struct cmdq_item *); -static int cmd_confirm_before_callback(void *, const char *); +static int cmd_confirm_before_callback(void *, const char *, int); static void cmd_confirm_before_free(void *); const struct cmd_entry cmd_confirm_before_entry = { @@ -96,7 +96,7 @@ cmd_confirm_before_error(struct cmdq_item *item, void *data) } static int -cmd_confirm_before_callback(void *data, const char *s) +cmd_confirm_before_callback(void *data, const char *s, __unused int done) { struct cmd_confirm_before_data *cdata = data; struct client *c = cdata->client; |