Fix some issues when logging out
This commit is contained in:
@@ -261,6 +261,7 @@ func (c *Container) Stop() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
debug.Print("Error closing history manager:", err)
|
debug.Print("Error closing history manager:", err)
|
||||||
}
|
}
|
||||||
|
c.history = nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
4
ui/ui.go
4
ui/ui.go
@@ -105,6 +105,10 @@ func (ui *GomuksUI) SetView(name View) {
|
|||||||
if ok {
|
if ok {
|
||||||
focusable.Focus()
|
focusable.Focus()
|
||||||
}
|
}
|
||||||
|
if ui.app.Screen() != nil {
|
||||||
|
ui.app.Screen().Clear()
|
||||||
|
ui.Render()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (ui *GomuksUI) MainView() ifc.MainView {
|
func (ui *GomuksUI) MainView() ifc.MainView {
|
||||||
|
Reference in New Issue
Block a user