forked from Mirrors/gomuks
Fix some issues when logging out
This commit is contained in:
parent
78f7a7aadc
commit
55f58f2875
2 changed files with 5 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue