mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Erm the aixterm colours should start at 8, not 7.
This commit is contained in:
		
							
								
								
									
										2
									
								
								window.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								window.c
									
									
									
									
									
								
							@@ -1530,7 +1530,7 @@ window_pane_get_palette(const struct window_pane *wp, int c)
 | 
				
			|||||||
	if (c < 8)
 | 
						if (c < 8)
 | 
				
			||||||
		new = wp->palette[c];
 | 
							new = wp->palette[c];
 | 
				
			||||||
	else if (c >= 90 && c <= 97)
 | 
						else if (c >= 90 && c <= 97)
 | 
				
			||||||
		new = wp->palette[7 + c - 90];
 | 
							new = wp->palette[8 + c - 90];
 | 
				
			||||||
	else if (c & COLOUR_FLAG_256)
 | 
						else if (c & COLOUR_FLAG_256)
 | 
				
			||||||
		new = wp->palette[c & ~COLOUR_FLAG_256];
 | 
							new = wp->palette[c & ~COLOUR_FLAG_256];
 | 
				
			||||||
	if (new == 0)
 | 
						if (new == 0)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user