diff options
author | 2020-05-16 16:16:07 +0000 | |
---|---|---|
committer | 2020-05-16 16:16:07 +0000 | |
commit | 94adf770415cb803237af9a844544f2da66f1f98 (patch) | |
tree | 44ced233d9768929dc89d5ec0752a7bd6a908ad2 /usr.bin/tmux/cmd-queue.c | |
parent | Move editor stuff to common code in popup.c. (diff) | |
download | wireguard-openbsd-94adf770415cb803237af9a844544f2da66f1f98.tar.xz wireguard-openbsd-94adf770415cb803237af9a844544f2da66f1f98.zip |
Expand target from client and use it to expand the prompt.
Diffstat (limited to 'usr.bin/tmux/cmd-queue.c')
-rw-r--r-- | usr.bin/tmux/cmd-queue.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-queue.c b/usr.bin/tmux/cmd-queue.c index 3e3fb6216fc..d210b62a0c4 100644 --- a/usr.bin/tmux/cmd-queue.c +++ b/usr.bin/tmux/cmd-queue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-queue.c,v 1.94 2020/05/16 15:54:20 nicm Exp $ */ +/* $OpenBSD: cmd-queue.c,v 1.95 2020/05/16 16:16:07 nicm Exp $ */ /* * Copyright (c) 2013 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -522,7 +522,7 @@ cmdq_find_flag(struct cmdq_item *item, struct cmd_find_state *fs, const char *value; if (flag->flag == 0) { - cmd_find_clear_state(fs, 0); + cmd_find_from_client(fs, item->target_client, 0); return (CMD_RETURN_NORMAL); } @@ -610,7 +610,6 @@ cmdq_fire_command(struct cmdq_item *item) if (retval == CMD_RETURN_ERROR) goto out; - retval = entry->exec(cmd, item); if (retval == CMD_RETURN_ERROR) goto out; |