From 55f58f2875d68a47af4c36fac140fb06ecc37bfd Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 19 Feb 2020 23:48:34 +0200 Subject: Fix some issues when logging out --- ui/ui.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ui') diff --git a/ui/ui.go b/ui/ui.go index 858e407..c22a154 100644 --- a/ui/ui.go +++ b/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 { -- cgit v1.2.3