mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Land in the same panel when switching to a worktree
This commit is contained in:
parent
53f4ccb809
commit
ab3052f642
11 changed files with 50 additions and 16 deletions
|
@ -76,6 +76,10 @@ func (self *guiCommon) Context() types.IContextMgr {
|
|||
return self.gui.State.ContextMgr
|
||||
}
|
||||
|
||||
func (self *guiCommon) ContextForKey(key types.ContextKey) types.Context {
|
||||
return self.gui.State.ContextMgr.ContextForKey(key)
|
||||
}
|
||||
|
||||
func (self *guiCommon) ActivateContext(context types.Context) error {
|
||||
return self.gui.State.ContextMgr.ActivateContext(context, types.OnFocusOpts{})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue