mirror of
https://github.com/tmux/tmux.git
synced 2024-11-17 18:08:51 +00:00
Fix command prompt with multiple prompts (add the result onto the list
again as we go along). ok deraadt
This commit is contained in:
parent
c4b969ca62
commit
257e9ba69a
@ -183,6 +183,7 @@ cmd_command_prompt_callback(struct client *c, void *data, const char *s,
|
||||
if (cdata->flags & PROMPT_INCREMENTAL)
|
||||
goto out;
|
||||
|
||||
cmd_append_argv(&cdata->argc, &cdata->argv, s);
|
||||
if (++cdata->current != cdata->count) {
|
||||
prompt = &cdata->prompts[cdata->current];
|
||||
status_prompt_update(c, prompt->prompt, prompt->input);
|
||||
|
Loading…
Reference in New Issue
Block a user