Fixing bad highlighting on first SNAP_WORD multiline select.
This commit is contained in:
		
							parent
							
								
									b5144100a5
								
							
						
					
					
						commit
						8315dc4179
					
				
							
								
								
									
										3
									
								
								st.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								st.c
									
									
									
									
									
								
							| @ -788,7 +788,6 @@ getbuttoninfo(XEvent *e) { | ||||
| 		selsnap(sel.snap, &sel.oe.x, &sel.oe.y, -1); | ||||
| 		selsnap(sel.snap, &sel.ob.x, &sel.ob.y, +1); | ||||
| 	} | ||||
| 
 | ||||
| 	selsort(); | ||||
| 
 | ||||
| 	sel.type = SEL_REGULAR; | ||||
| @ -1099,7 +1098,7 @@ brelease(XEvent *e) { | ||||
| 			selcopy(); | ||||
| 		} | ||||
| 		sel.mode = 0; | ||||
| 		term.dirty[sel.oe.y] = 1; | ||||
| 		tsetdirt(sel.nb.y, sel.ne.y); | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Christoph Lohmann
						Christoph Lohmann