mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	 Adrien Fabre
					Adrien Fabre
				
			
				
					committed by
					
						 Justin M. Keyes
						Justin M. Keyes
					
				
			
			
				
	
			
			
			 Justin M. Keyes
						Justin M. Keyes
					
				
			
						parent
						
							a48896c6e7
						
					
				
				
					commit
					47b7b471fa
				
			| @@ -1306,7 +1306,7 @@ static void refresh_screen(Terminal *term, buf_T *buf) | |||||||
|  |  | ||||||
| static void adjust_topline(Terminal *term, buf_T *buf, long added) | static void adjust_topline(Terminal *term, buf_T *buf, long added) | ||||||
| { | { | ||||||
|   FOR_ALL_WINDOWS_IN_TAB(wp, curtab) { |   FOR_ALL_TAB_WINDOWS(tp, wp) { | ||||||
|     if (wp->w_buffer == buf) { |     if (wp->w_buffer == buf) { | ||||||
|       linenr_T ml_end = buf->b_ml.ml_line_count; |       linenr_T ml_end = buf->b_ml.ml_line_count; | ||||||
|       bool following = ml_end == wp->w_cursor.lnum + added;  // cursor at end? |       bool following = ml_end == wp->w_cursor.lnum + added;  // cursor at end? | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user