mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Trim output overwritten by later text or clears completely rather than
only in a few cases. This means we can better track when a line should wrap. GitHub issue 2537.
This commit is contained in:
		
							
								
								
									
										3
									
								
								format.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								format.c
									
									
									
									
									
								
							@@ -3038,9 +3038,6 @@ format_defaults_pane(struct format_tree *ft, struct window_pane *wp)
 | 
			
		||||
	format_add_cb(ft, "history_bytes", format_cb_history_bytes);
 | 
			
		||||
	format_add_cb(ft, "history_all_bytes", format_cb_history_all_bytes);
 | 
			
		||||
 | 
			
		||||
	format_add(ft, "pane_written", "%zu", wp->written);
 | 
			
		||||
	format_add(ft, "pane_skipped", "%zu", wp->skipped);
 | 
			
		||||
 | 
			
		||||
	if (window_pane_index(wp, &idx) != 0)
 | 
			
		||||
		fatalx("index not found");
 | 
			
		||||
	format_add(ft, "pane_index", "%u", idx);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user