artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
843924d
)
Do not block with incremental command prompt.
author
nicm
<nicm@openbsd.org>
Tue, 17 Aug 2021 19:26:42 +0000
(19:26 +0000)
committer
nicm
<nicm@openbsd.org>
Tue, 17 Aug 2021 19:26:42 +0000
(19:26 +0000)
usr.bin/tmux/cmd-command-prompt.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/cmd-command-prompt.c
b/usr.bin/tmux/cmd-command-prompt.c
index
24dbf79
..
efc709e
100644
(file)
--- a/
usr.bin/tmux/cmd-command-prompt.c
+++ b/
usr.bin/tmux/cmd-command-prompt.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: cmd-command-prompt.c,v 1.5
6 2021/08/13 06:50
:42 nicm Exp $ */
+/* $OpenBSD: cmd-command-prompt.c,v 1.5
7 2021/08/17 19:26
:42 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-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;