mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Change so that window_flags escapes # automatically which means configs
will not have to change. A new format window_raw_flags contains the old unescaped version.
This commit is contained in:
		
							
								
								
									
										7
									
								
								tmux.1
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								tmux.1
									
									
									
									
									
								
							@@ -4651,8 +4651,8 @@ of the variable respectively.
 | 
			
		||||
.Ql q:\&
 | 
			
		||||
will escape
 | 
			
		||||
.Xr sh 1
 | 
			
		||||
special characters or with an
 | 
			
		||||
.Ql e
 | 
			
		||||
special characters or with a
 | 
			
		||||
.Ql h
 | 
			
		||||
suffix, escape hash characters (so
 | 
			
		||||
.Ql #
 | 
			
		||||
becomes
 | 
			
		||||
@@ -4882,7 +4882,8 @@ The following variables are available, where appropriate:
 | 
			
		||||
.It Li "window_cell_height" Ta "" Ta "Height of each cell in pixels"
 | 
			
		||||
.It Li "window_cell_width" Ta "" Ta "Width of each cell in pixels"
 | 
			
		||||
.It Li "window_end_flag" Ta "" Ta "1 if window has the highest index"
 | 
			
		||||
.It Li "window_flags" Ta "#F" Ta "Window flags"
 | 
			
		||||
.It Li "window_flags" Ta "#F" Ta "Window flags with # escaped as ##"
 | 
			
		||||
.It Li "window_raw_flags" Ta "" Ta "Window flags with nothing escaped"
 | 
			
		||||
.It Li "window_format" Ta "" Ta "1 if format is for a window"
 | 
			
		||||
.It Li "window_height" Ta "" Ta "Height of window"
 | 
			
		||||
.It Li "window_id" Ta "" Ta "Unique window ID"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user