Do not block with incremental command prompt.

pull/2851/head
nicm 2021-08-17 19:26:42 +00:00
parent 4f62aadc93
commit 2b0d798982
1 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,8 @@ cmd_command_prompt_exec(struct cmd *self, struct cmdq_item *item)
if (tc->prompt_string != NULL)
return (CMD_RETURN_NORMAL);
if (args_has(args, 'i'))
wait = 0;
cdata = xcalloc(1, sizeof *cdata);
cdata->idx = 1;