Skip to content

Commit

Permalink
Merge pull request #289 from jwodder/no-optional
Browse files Browse the repository at this point in the history
Fix prompt in `select.rs` example
  • Loading branch information
pksunkara authored Oct 13, 2023
2 parents d952d17 + 386cc55 commit c5f7c9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fn main() {
}

let selection = Select::with_theme(&ColorfulTheme::default())
.with_prompt("Optionally pick your flavor, hint it might be on the second page")
.with_prompt("Pick your flavor, hint it might be on the second page")
.default(0)
.max_length(2)
.items(&selections[..])
Expand Down

0 comments on commit c5f7c9a

Please sign in to comment.