mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-17 00:18:05 +02:00
Undo a change made in #2444 that we didn't end up needing
This commit is contained in:
@ -49,15 +49,6 @@ func (self *GuiDriver) CurrentContext() types.Context {
|
||||
return self.gui.c.CurrentContext()
|
||||
}
|
||||
|
||||
func (self *GuiDriver) ContextForView(viewName string) types.Context {
|
||||
context, ok := self.gui.contextForView(viewName)
|
||||
if !ok {
|
||||
return nil
|
||||
}
|
||||
|
||||
return context
|
||||
}
|
||||
|
||||
func (self *GuiDriver) Fail(message string) {
|
||||
self.gui.g.Close()
|
||||
// need to give the gui time to close
|
||||
|
Reference in New Issue
Block a user