aboutsummaryrefslogtreecommitdiff
path: root/ui/ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.go')
-rw-r--r--ui/ui.go4
1 files changed, 4 insertions, 0 deletions
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 {