mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-25 22:32:13 +02:00
ensure we retain state when returning to submodule parent
This commit is contained in:
@@ -137,6 +137,12 @@ func (self *ViewContextMap) Set(viewName string, context types.Context) {
|
||||
self.content[viewName] = context
|
||||
}
|
||||
|
||||
func (self *ViewContextMap) Entries() map[string]types.Context {
|
||||
self.Lock()
|
||||
defer self.Unlock()
|
||||
return self.content
|
||||
}
|
||||
|
||||
type TabContext struct {
|
||||
Tab string
|
||||
Contexts []types.Context
|
||||
|
||||
Reference in New Issue
Block a user