mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
hide commit files view upon losing focus because you probably don't want it lingering anyway
This commit is contained in:
@@ -40,3 +40,9 @@ func (gui *Gui) resetWindowForView(viewName string) {
|
||||
// we assume here that the window contains as its default view a view with the same name as the window
|
||||
gui.State.WindowViewNameMap[window] = window
|
||||
}
|
||||
|
||||
func (gui *Gui) renderWindow(window string) error {
|
||||
viewName := gui.getViewNameForWindow(window)
|
||||
gui.Log.Warn(viewName)
|
||||
return gui.rerenderView(viewName)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user