mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 18:21:33 +00:00
Expand command as a format, GitHub issue 2920.
This commit is contained in:
parent
9695114230
commit
76f5d3364c
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user