File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 44	"time" 
55
66	"github.com/jesseduffield/gocui" 
7+ 	"github.com/jesseduffield/lazygit/pkg/gui/context" 
78	"github.com/jesseduffield/lazygit/pkg/gui/types" 
89	"github.com/jesseduffield/lazygit/pkg/tasks" 
910	"github.com/jesseduffield/lazygit/pkg/utils" 
@@ -136,5 +137,11 @@ func (gui *Gui) postRefreshUpdate(c types.Context) {
136137
137138	if  gui .currentViewName () ==  c .GetViewName () {
138139		c .HandleFocus (types.OnFocusOpts {})
140+ 	} else  {
141+ 		currentCtx  :=  gui .State .ContextMgr .Current ()
142+ 		if  currentCtx .GetKey () ==  context .NORMAL_MAIN_CONTEXT_KEY  ||  currentCtx .GetKey () ==  context .NORMAL_SECONDARY_CONTEXT_KEY  {
143+ 			parentCtx  :=  currentCtx .GetParentContext ()
144+ 			parentCtx .HandleRenderToMain ()
145+ 		}
139146	}
140147}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments