From c9548e938589d730338db84c9649fed81c852705 Mon Sep 17 00:00:00 2001 From: citrons Date: Mon, 2 Jun 2025 08:00:26 -0500 Subject: command window preview --- client/ui.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'client/ui.go') 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, -- cgit v1.2.3