mirror of
				https://github.com/tmux/tmux.git
				synced 2025-10-26 12:27:15 +00:00 
			
		
		
		
	Make confirm-before prompt customizable with -p option like
command-prompt. Also move responsibility for calling status_replace into
status_prompt_{set,update} and add #W and #P to the default kill-window
and kill-pane prompts. By Tiago Cunha.
			
			
This commit is contained in:
		
							
								
								
									
										11
									
								
								tmux.1
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								tmux.1
									
									
									
									
									
								
							| @@ -2690,12 +2690,23 @@ to | ||||
| .Ql %9 | ||||
| .Pc . | ||||
| .It Xo Ic confirm-before | ||||
| .Op Fl p Ar prompt | ||||
| .Op Fl t Ar target-client | ||||
| .Ar command | ||||
| .Xc | ||||
| .D1 (alias: Ic confirm ) | ||||
| Ask for confirmation before executing | ||||
| .Ar command . | ||||
| If | ||||
| .Fl p | ||||
| is given, | ||||
| .Ar prompt | ||||
| is the prompt to display; otherwise a prompt is constructed from | ||||
| .Ar command . | ||||
| It may contain the special character sequences supported by the | ||||
| .Ic status-left | ||||
| option. | ||||
| .Pp | ||||
| This command works only from inside | ||||
| .Nm . | ||||
| .It Xo Ic display-message | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Nicholas Marriott
					Nicholas Marriott