From 2b0d798982d7c0cf6f2f7b00a6a3d98cd43e979e Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 17 Aug 2021 19:26:42 +0000 Subject: Do not block with incremental command prompt. --- cmd-command-prompt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd-command-prompt.c') diff --git a/cmd-command-prompt.c b/cmd-command-prompt.c index 7e3d23c5..4943bc15 100644 --- a/cmd-command-prompt.c +++ b/cmd-command-prompt.c @@ -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; -- cgit