mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 00:56:10 +00:00 
			
		
		
		
	Redraw status on mode entry and exit.
This commit is contained in:
		
							
								
								
									
										4
									
								
								window.c
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								window.c
									
									
									
									
									
								
							@@ -1085,6 +1085,8 @@ window_pane_set_mode(struct window_pane *wp, const struct window_mode *mode)
 | 
				
			|||||||
	if ((s = wp->mode->init(wp)) != NULL)
 | 
						if ((s = wp->mode->init(wp)) != NULL)
 | 
				
			||||||
		wp->screen = s;
 | 
							wp->screen = s;
 | 
				
			||||||
	wp->flags |= (PANE_REDRAW|PANE_CHANGED);
 | 
						wp->flags |= (PANE_REDRAW|PANE_CHANGED);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						server_status_window(wp->window);
 | 
				
			||||||
	return (0);
 | 
						return (0);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -1099,6 +1101,8 @@ window_pane_reset_mode(struct window_pane *wp)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	wp->screen = &wp->base;
 | 
						wp->screen = &wp->base;
 | 
				
			||||||
	wp->flags |= (PANE_REDRAW|PANE_CHANGED);
 | 
						wp->flags |= (PANE_REDRAW|PANE_CHANGED);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						server_status_window(wp->window);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void
 | 
					void
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user