mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Break the colour palette into a struct rather than just a single array
and use that to support the OSC palette-setting sequences in popups. Also add a pane-colours array option to specify the defaults. GitHub issue 2815.
This commit is contained in:
		
							
								
								
									
										14
									
								
								tmux.1
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								tmux.1
									
									
									
									
									
								
							@@ -1677,9 +1677,13 @@ The following commands are supported in copy mode:
 | 
			
		||||
.It Li "cancel" Ta "q" Ta "Escape"
 | 
			
		||||
.It Li "clear-selection" Ta "Escape" Ta "C-g"
 | 
			
		||||
.It Li "copy-end-of-line [<prefix>]" Ta "" Ta ""
 | 
			
		||||
.It Li "copy-end-of-line-and-cancel [<prefix>]" Ta "D" Ta "C-k"
 | 
			
		||||
.It Li "copy-end-of-line-and-cancel [<prefix>]" Ta "" Ta ""
 | 
			
		||||
.It Li "copy-pipe-end-of-line [<command>] [<prefix>]" Ta "" Ta ""
 | 
			
		||||
.It Li "copy-pipe-end-of-line-and-cancel [<command>] [<prefix>]" Ta "D" Ta "C-k"
 | 
			
		||||
.It Li "copy-line [<prefix>]" Ta "" Ta ""
 | 
			
		||||
.It Li "copy-line-and-cancel [<prefix>]" Ta "" Ta ""
 | 
			
		||||
.It Li "copy-pipe-line [<command>] [<prefix>]" Ta "" Ta ""
 | 
			
		||||
.It Li "copy-pipe-line-and-cancel [<command>] [<prefix>]" Ta "" Ta ""
 | 
			
		||||
.It Li "copy-pipe [<command>] [<prefix>]" Ta "" Ta ""
 | 
			
		||||
.It Li "copy-pipe-no-clear [<command>] [<prefix>]" Ta "" Ta ""
 | 
			
		||||
.It Li "copy-pipe-and-cancel [<command>] [<prefix>]" Ta "" Ta ""
 | 
			
		||||
@@ -4143,7 +4147,6 @@ see the
 | 
			
		||||
.Sx STYLES
 | 
			
		||||
section.
 | 
			
		||||
Attributes are ignored.
 | 
			
		||||
.Pp
 | 
			
		||||
.It Ic pane-base-index Ar index
 | 
			
		||||
Like
 | 
			
		||||
.Ic base-index ,
 | 
			
		||||
@@ -4301,6 +4304,13 @@ The alternate screen feature preserves the contents of the window when an
 | 
			
		||||
interactive application starts and restores it on exit, so that any output
 | 
			
		||||
visible before the application starts reappears unchanged after it exits.
 | 
			
		||||
.Pp
 | 
			
		||||
.It Ic pane-colours[] Ar colour
 | 
			
		||||
The default colour palette.
 | 
			
		||||
Each entry in the array defines the colour
 | 
			
		||||
.Nm
 | 
			
		||||
uses when the colour with that index is requested.
 | 
			
		||||
The index may be from zero to 255.
 | 
			
		||||
.Pp
 | 
			
		||||
.It Xo Ic remain-on-exit
 | 
			
		||||
.Op Ic on | off | failed
 | 
			
		||||
.Xc
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user