mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +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:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 nicm
					nicm