Fix blink mode check
ATTR_BLINK is an attribute for a Glyph and will not be set in term.mode.
This commit is contained in:
		
				
					committed by
					
						 Roberto E. Vargas Caballero
						Roberto E. Vargas Caballero
					
				
			
			
				
	
			
			
			
						parent
						
							7e3cff33ff
						
					
				
				
					commit
					86c03ddc82
				
			
							
								
								
									
										4
									
								
								st.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								st.c
									
									
									
									
									
								
							| @@ -3606,8 +3606,8 @@ run(void) { | |||||||
| 			ttyread(); | 			ttyread(); | ||||||
| 			if(blinktimeout) { | 			if(blinktimeout) { | ||||||
| 				blinkset = tattrset(ATTR_BLINK); | 				blinkset = tattrset(ATTR_BLINK); | ||||||
| 				if(!blinkset && term.mode & ATTR_BLINK) | 				if(!blinkset) | ||||||
| 					term.mode &= ~(MODE_BLINK); | 					MODBIT(term.mode, 0, MODE_BLINK); | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user