From 1f107cec4fc024e4ffff94ec6b599f02d59ac5b6 Mon Sep 17 00:00:00 2001 From: Kynan Ware <47394200+BagToad@users.noreply.github.com> Date: Tue, 9 Sep 2025 16:15:10 -0600 Subject: [PATCH] Fix default value in session selection prompt Updated the call to Prompter.Select to use an empty string as the default value instead of options[0], ensuring no session is preselected by default. --- pkg/cmd/agent-task/view/view.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/agent-task/view/view.go b/pkg/cmd/agent-task/view/view.go index 6dc5b6cf9..c501f28b3 100644 --- a/pkg/cmd/agent-task/view/view.go +++ b/pkg/cmd/agent-task/view/view.go @@ -185,7 +185,7 @@ func viewRun(opts *ViewOptions) error { } opts.IO.StopProgressIndicator() - selected, err := opts.Prompter.Select("Select a session", options[0], options) + selected, err := opts.Prompter.Select("Select a session", "", options) if err != nil { return err }