mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 17:24:18 +00:00 
			
		
		
		
	Flush scrolling when wrapping so UTF-8 in last position draws correctly,
GitHub issue 4518.
This commit is contained in:
		@@ -1901,7 +1901,7 @@ screen_write_cell(struct screen_write_ctx *ctx, const struct grid_cell *gc)
 | 
			
		||||
		log_debug("%s: wrapped at %u,%u", __func__, s->cx, s->cy);
 | 
			
		||||
		screen_write_linefeed(ctx, 1, 8);
 | 
			
		||||
		screen_write_set_cursor(ctx, 0, -1);
 | 
			
		||||
		screen_write_collect_flush(ctx, 1, __func__);
 | 
			
		||||
		screen_write_collect_flush(ctx, 0, __func__);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* Sanity check cursor position. */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user