aboutsummaryrefslogtreecommitdiff
path: root/cmd-command-prompt.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-08-17 22:01:18 +0100
committerThomas Adam <thomas@xteddy.org>2021-08-17 22:01:18 +0100
commita8be47f0f42d3e45fc689afeaa71ceb3c581c801 (patch)
tree17d15b5413da72feb9f4ddb81d1ebf2fec428c45 /cmd-command-prompt.c
parentbacae4b4ad59372bab3be420f232bb490cf406e8 (diff)
parent5fdea440cede1690db9a242a091df72f16e53d24 (diff)
downloadrtmux-a8be47f0f42d3e45fc689afeaa71ceb3c581c801.tar.gz
rtmux-a8be47f0f42d3e45fc689afeaa71ceb3c581c801.tar.bz2
rtmux-a8be47f0f42d3e45fc689afeaa71ceb3c581c801.zip
Merge branch 'obsd-master' into master
Diffstat (limited to 'cmd-command-prompt.c')
-rw-r--r--cmd-command-prompt.c2
1 files changed, 2 insertions, 0 deletions
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;