mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-28 16:02:01 +03:00
move more actions into controller
This commit is contained in:
@ -347,8 +347,8 @@ func (gui *Gui) resetState(startArgs appTypes.StartArgs, reuseState bool) {
|
||||
Diffing: diffing.New(),
|
||||
},
|
||||
ScreenMode: initialScreenMode,
|
||||
// TODO: put contexts in the context manager
|
||||
ContextMgr: NewContextMgr(initialContext, gui),
|
||||
// TODO: only use contexts from context manager
|
||||
ContextMgr: NewContextMgr(initialContext, gui, contextTree),
|
||||
Contexts: contextTree,
|
||||
WindowViewNameMap: initialWindowViewNameMap(contextTree),
|
||||
}
|
||||
|
Reference in New Issue
Block a user