diff options
| author | citrons <citrons@mondecitronne.com> | 2025-06-02 08:00:26 -0500 |
|---|---|---|
| committer | citrons <citrons@mondecitronne.com> | 2025-06-02 08:00:26 -0500 |
| commit | c9548e938589d730338db84c9649fed81c852705 (patch) | |
| tree | d1ed1254dc33c2b20ef0e1ec452af76b03c320c7 /client/ui.go | |
| parent | 58281da28614386809eab60c9dcbb86082354f1b (diff) | |
command window preview
Diffstat (limited to 'client/ui.go')
| -rw-r--r-- | client/ui.go | 4 |
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, |
