mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Sync OpenBSD patchset 599:
Correctly clear 256-colour flag for aixterm colours.
This commit is contained in:
		
							
								
								
									
										4
									
								
								input.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								input.c
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
/* $Id: input.c,v 1.105 2009-12-16 01:13:09 tcunha Exp $ */
 | 
			
		||||
/* $Id: input.c,v 1.106 2010-01-08 16:22:02 tcunha Exp $ */
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
 | 
			
		||||
@@ -1481,6 +1481,7 @@ input_handle_sequence_sgr(struct input_ctx *ictx)
 | 
			
		||||
		case 95:
 | 
			
		||||
		case 96:
 | 
			
		||||
		case 97:
 | 
			
		||||
			gc->flags &= ~GRID_FLAG_FG256;
 | 
			
		||||
			gc->fg = m;
 | 
			
		||||
			break;
 | 
			
		||||
		case 100:
 | 
			
		||||
@@ -1491,6 +1492,7 @@ input_handle_sequence_sgr(struct input_ctx *ictx)
 | 
			
		||||
		case 105:
 | 
			
		||||
		case 106:
 | 
			
		||||
		case 107:
 | 
			
		||||
			gc->flags &= ~GRID_FLAG_BG256;
 | 
			
		||||
			gc->bg = m;
 | 
			
		||||
			break;
 | 
			
		||||
		}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user