mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:07:38 +00:00 
			
		
		
		
	
			
				
					
						
					
					1292540bb53542ed66890d60f076cc401386b26d
				
			
			
		
	Extend command-prompt with a -p option which is a comma-separated list of one or more prompts to present in order. The responses to the prompt are replaced in the template string: %% are replaced in order, so the first prompt replaces the first %%, the second replaces the second, and so on. In addition, %1 up to %9 are replaced with the responses to the first the ninth prompts The default template is "%1" so the response to the first prompt is processed as a command. Note that this changes the behaviour for %% so if there is only one prompt, only the first %% will be replaced. Templates such as "neww -n '%%' 'ssh %%'" should be changed to "neww -n '%1' 'ssh %1'". From Tiago Cunha.
Description
				No description provided
						
						
						
					Languages
				
				
								
								
									C
								
								87.5%
							
						
							
								
								
									Roff
								
								7.1%
							
						
							
								
								
									Shell
								
								2.7%
							
						
							
								
								
									Yacc
								
								1.3%
							
						
							
								
								
									M4
								
								0.8%
							
						
							
								
								
									Other
								
								0.5%