Merge pull request #948 from zeroclaw-labs/fix/wizard-channel-default-index

fix(onboard): correct channel selector default to 'Done' item
This commit is contained in:
Alex Gorevski 2026-02-19 07:21:10 -08:00 committed by GitHub
commit ba500a606e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2695,7 +2695,7 @@ fn setup_channels() -> Result<ChannelsConfig> {
let choice = Select::new()
.with_prompt(" Connect a channel (or Done to continue)")
.items(&options)
.default(11)
.default(options.len() - 1)
.interact()?;
match choice {