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.
This commit is contained in:
Kynan Ware 2025-09-09 16:15:10 -06:00
parent 52b85a19f5
commit 1f107cec4f

View file

@ -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
}