diff options
| -rw-r--r-- | client/cmd_window.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/client/cmd_window.go b/client/cmd_window.go index 62fdeee..379743e 100644 --- a/client/cmd_window.go +++ b/client/cmd_window.go @@ -87,9 +87,13 @@ func (w *cmdWindow) showPreview() { } msg := bottom.Msg() - tui.Push("command window container", tui.Box { + mouse := tui.Push("command window container", tui.Box { Width: tui.Fill, Height: tui.Children, }) + if mouse.Button == 0 && mouse.Pressed { + globalApp.goTo(cmdWindowLocation{}) + globalApp.redraw = true + } var isOverflow bool tui.Push(msg.Id(), tui.Box { |
