diff options
author | 2017-01-06 11:57:03 +0000 | |
---|---|---|
committer | 2017-01-06 11:57:03 +0000 | |
commit | edd3b07901e18abfc9dfb4ae20eef8b501ca17fa (patch) | |
tree | b19bfabc14d3d35584d3f0919b8a5037acd53600 /usr.bin/tmux/cmd-confirm-before.c | |
parent | Kill various splsoftnet(). (diff) | |
download | wireguard-openbsd-edd3b07901e18abfc9dfb4ae20eef8b501ca17fa.tar.xz wireguard-openbsd-edd3b07901e18abfc9dfb4ae20eef8b501ca17fa.zip |
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 'usr.bin/tmux/cmd-confirm-before.c')
-rw-r--r-- | usr.bin/tmux/cmd-confirm-before.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-confirm-before.c b/usr.bin/tmux/cmd-confirm-before.c index e84a654cba4..ac0fc7a7120 100644 --- a/usr.bin/tmux/cmd-confirm-before.c +++ b/usr.bin/tmux/cmd-confirm-before.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-confirm-before.c,v 1.31 2016/10/16 19:04:05 nicm Exp $ */ +/* $OpenBSD: cmd-confirm-before.c,v 1.32 2017/01/06 11:57:03 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -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; |