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:
commit
ba500a606e
1 changed files with 1 additions and 1 deletions
|
|
@ -2695,7 +2695,7 @@ fn setup_channels() -> Result<ChannelsConfig> {
|
||||||
let choice = Select::new()
|
let choice = Select::new()
|
||||||
.with_prompt(" Connect a channel (or Done to continue)")
|
.with_prompt(" Connect a channel (or Done to continue)")
|
||||||
.items(&options)
|
.items(&options)
|
||||||
.default(11)
|
.default(options.len() - 1)
|
||||||
.interact()?;
|
.interact()?;
|
||||||
|
|
||||||
match choice {
|
match choice {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue