mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Do not clear the wrapped flag on linefeeds if it is already set - this
does not appear to be what applications want. GitHub issue 2478 and 2414.
This commit is contained in:
		@@ -1240,8 +1240,6 @@ screen_write_linefeed(struct screen_write_ctx *ctx, int wrapped, u_int bg)
 | 
			
		||||
	gl = grid_get_line(gd, gd->hsize + s->cy);
 | 
			
		||||
	if (wrapped)
 | 
			
		||||
		gl->flags |= GRID_LINE_WRAPPED;
 | 
			
		||||
	else
 | 
			
		||||
		gl->flags &= ~GRID_LINE_WRAPPED;
 | 
			
		||||
 | 
			
		||||
	log_debug("%s: at %u,%u (region %u-%u)", __func__, s->cx, s->cy,
 | 
			
		||||
	    s->rupper, s->rlower);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user