mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Move the background colour to clear with (if any) up as well as the data
when scrolling, redraw problem reported by sthen@.
This commit is contained in:
		@@ -1372,10 +1372,11 @@ screen_write_collect_scroll(struct screen_write_ctx *ctx)
 | 
				
			|||||||
	for (y = s->rupper; y < s->rlower; y++) {
 | 
						for (y = s->rupper; y < s->rlower; y++) {
 | 
				
			||||||
		cl = &ctx->s->write_list[y + 1];
 | 
							cl = &ctx->s->write_list[y + 1];
 | 
				
			||||||
		TAILQ_CONCAT(&ctx->s->write_list[y].items, &cl->items, entry);
 | 
							TAILQ_CONCAT(&ctx->s->write_list[y].items, &cl->items, entry);
 | 
				
			||||||
 | 
							ctx->s->write_list[y].bg = cl->bg;
 | 
				
			||||||
		ctx->s->write_list[y].data = cl->data;
 | 
							ctx->s->write_list[y].data = cl->data;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	ctx->s->write_list[s->rlower].data = saved;
 | 
					 | 
				
			||||||
	ctx->s->write_list[s->rlower].bg = 1 + 8;
 | 
						ctx->s->write_list[s->rlower].bg = 1 + 8;
 | 
				
			||||||
 | 
						ctx->s->write_list[s->rlower].data = saved;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Flush collected lines. */
 | 
					/* Flush collected lines. */
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -33,8 +33,8 @@
 | 
				
			|||||||
 * - alternate escape (under XT).
 | 
					 * - alternate escape (under XT).
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Also:
 | 
					 * Also:
 | 
				
			||||||
 * - XT is used to decide whether to send DA and DSR,
 | 
					 * - XT is used to decide whether to send DA and DSR;
 | 
				
			||||||
 * - DECSLRM and DECFRA use a flag instead of capabilities.
 | 
					 * - DECSLRM and DECFRA use a flag instead of capabilities;
 | 
				
			||||||
 * - UTF-8 is a separate flag on the client; needed for unattached clients.
 | 
					 * - UTF-8 is a separate flag on the client; needed for unattached clients.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user