mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Do not hoke into struct window_pane from the tty code and instead set
everything up in tty_ctx. Provide a way to initialize the tty_ctx from a callback and use it to let popups draw directly through input_parse in the same way as panes do, rather than forcing a full redraw on every change.
This commit is contained in:
		@@ -562,7 +562,7 @@ mode_tree_draw(struct mode_tree_data *mtd)
 | 
			
		||||
	w = mtd->width;
 | 
			
		||||
	h = mtd->height;
 | 
			
		||||
 | 
			
		||||
	screen_write_start(&ctx, NULL, s);
 | 
			
		||||
	screen_write_start(&ctx, s);
 | 
			
		||||
	screen_write_clearscreen(&ctx, 8);
 | 
			
		||||
 | 
			
		||||
	if (mtd->line_size > 10)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user