From f38d6eb807e2b921123dd5efd0b2d632a632e579 Mon Sep 17 00:00:00 2001 From: citrons Date: Sat, 7 Jun 2025 19:39:07 -0500 Subject: click on command window to go there --- client/cmd_window.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.3