mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
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 {
|
||||
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 {
|
||||
focusable.Focus()
|
||||
}
|
||||
if ui.app.Screen() != nil {
|
||||
ui.app.Screen().Clear()
|
||||
ui.Render()
|
||||
}
|
||||
}
|
||||
|
||||
func (ui *GomuksUI) MainView() ifc.MainView {
|
||||
|
|
Loading…
Add table
Reference in a new issue