mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Merge pull request #2551 from stefanhaller/fix-initial-context-activation
This commit is contained in:
commit
c6c4346d48
3 changed files with 6 additions and 1 deletions
|
@ -74,6 +74,10 @@ func (self *guiCommon) IsCurrentContext(c types.Context) bool {
|
|||
return self.CurrentContext().GetKey() == c.GetKey()
|
||||
}
|
||||
|
||||
func (self *guiCommon) ActivateContext(context types.Context) error {
|
||||
return self.gui.activateContext(context, types.OnFocusOpts{})
|
||||
}
|
||||
|
||||
func (self *guiCommon) GetAppState() *config.AppState {
|
||||
return self.gui.Config.GetAppState()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue