mirror of
				https://github.com/jesseduffield/lazygit.git
				synced 2025-10-25 05:37:37 +03:00 
			
		
		
		
	slightly better
This commit is contained in:
		| @@ -34,3 +34,9 @@ func (gui *Gui) setViewAsActiveForWindow(viewName string) { | ||||
| func (gui *Gui) currentWindow() string { | ||||
| 	return gui.getWindowForViewName(gui.currentViewName()) | ||||
| } | ||||
|  | ||||
| func (gui *Gui) resetWindowForView(viewName string) { | ||||
| 	window := gui.getWindowForViewName(viewName) | ||||
| 	// 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 | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user