summaryrefslogtreecommitdiff
path: root/client/ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/ui.go')
-rw-r--r--client/ui.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/ui.go b/client/ui.go
index 37b7d4e..023a1bf 100644
--- a/client/ui.go
+++ b/client/ui.go
@@ -64,6 +64,10 @@ func (a *application) show() {
Style: &tui.Style {Fg: tui.White, Bg: colorDefault[false]},
})
+ if a.currentWindow != (cmdWindowLocation{}) {
+ a.cmdWindow.showPreview()
+ }
+
a.getWin().Buffer().Show("buffer")
tui.Push("input border", tui.Box {
Width: tui.Fill, Height: 1, Dir: tui.Left,