mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	Permit attributes to be turned off in #[] by prefixing with "no", for example
"noblink".
This commit is contained in:
		@@ -347,6 +347,10 @@ screen_write_parsestyle(
 | 
			
		||||
					bg = defgc->bg;
 | 
			
		||||
			} else
 | 
			
		||||
				return;
 | 
			
		||||
		} else if (end > 2 && strncasecmp(tmp, "no", 2) == 0) {
 | 
			
		||||
			if ((val = attributes_fromstring(tmp + 2)) == -1)
 | 
			
		||||
				return;
 | 
			
		||||
			attr &= ~val;
 | 
			
		||||
		} else {
 | 
			
		||||
			if ((val = attributes_fromstring(tmp)) == -1)
 | 
			
		||||
				return;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user