mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 01:34:18 +00:00 
			
		
		
		
	Reset G0/G1 state when resetting everything else with send-keys -R.
This commit is contained in:
		
							
								
								
									
										5
									
								
								input.c
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								input.c
									
									
									
									
									
								
							@@ -801,10 +801,7 @@ input_reset(struct window_pane *wp)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	struct input_ctx	*ictx = wp->ictx;
 | 
						struct input_ctx	*ictx = wp->ictx;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	memcpy(&ictx->cell, &grid_default_cell, sizeof ictx->cell);
 | 
						input_reset_cell(ictx);
 | 
				
			||||||
	memcpy(&ictx->old_cell, &ictx->cell, sizeof ictx->old_cell);
 | 
					 | 
				
			||||||
	ictx->old_cx = 0;
 | 
					 | 
				
			||||||
	ictx->old_cy = 0;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if (wp->mode == NULL)
 | 
						if (wp->mode == NULL)
 | 
				
			||||||
		screen_write_start(&ictx->ctx, wp, &wp->base);
 | 
							screen_write_start(&ictx->ctx, wp, &wp->base);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user