From: nicm Date: Thu, 28 Oct 2021 18:39:15 +0000 (+0000) Subject: Expand command as a format, GitHub issue 2920. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=987f865fa20f14da187bf09076fb451bb0000538;p=openbsd Expand command as a format, GitHub issue 2920. --- 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 @@ -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);