mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Expand command as a format, GitHub issue 2920.
This commit is contained in:
@ -72,7 +72,7 @@ cmd_confirm_before_exec(struct cmd *self, struct cmdq_item *item)
|
|||||||
int wait = !args_has(args, 'b');
|
int wait = !args_has(args, 'b');
|
||||||
|
|
||||||
cdata = xcalloc(1, sizeof *cdata);
|
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)
|
if (cdata->cmdlist == NULL)
|
||||||
return (CMD_RETURN_ERROR);
|
return (CMD_RETURN_ERROR);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user