diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2021-10-28 18:39:16 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2021-10-28 18:39:16 +0000 |
commit | 98d3b106b47b8e4c915877dee5e595aef9acefbf (patch) | |
tree | fa1066f234884c8d2adbc17983746c4e327e28a2 | |
parent | 6e5d1c44ec2e7a37ee77bb2078bc7d3ffb25e132 (diff) |
Expand command as a format, GitHub issue 2920.
-rw-r--r-- | usr.bin/tmux/cmd-confirm-before.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-confirm-before.c b/usr.bin/tmux/cmd-confirm-before.c index 6023d7f5b0c..61b91d8d064 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.51 2021/09/09 13:38:32 nicm Exp $ */ +/* $OpenBSD: cmd-confirm-before.c,v 1.52 2021/10/28 18:39:15 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -72,7 +72,7 @@ cmd_confirm_before_exec(struct cmd *self, struct cmdq_item *item) int wait = !args_has(args, 'b'); cdata = xcalloc(1, sizeof *cdata); - cdata->cmdlist = args_make_commands_now(self, item, 0, 0); + cdata->cmdlist = args_make_commands_now(self, item, 0, 1); if (cdata->cmdlist == NULL) return (CMD_RETURN_ERROR); |