Fix some issues when logging out

This commit is contained in:
Tulir Asokan 2020-02-19 23:48:34 +02:00
parent 78f7a7aadc
commit 55f58f2875
2 changed files with 5 additions and 0 deletions

View File

@ -261,6 +261,7 @@ func (c *Container) Stop() {
if err != nil {
debug.Print("Error closing history manager:", err)
}
c.history = nil
}
}

View File

@ -105,6 +105,10 @@ func (ui *GomuksUI) SetView(name View) {
if ok {
focusable.Focus()
}
if ui.app.Screen() != nil {
ui.app.Screen().Clear()
ui.Render()
}
}
func (ui *GomuksUI) MainView() ifc.MainView {