ynqa / promkit

A toolkit for building interactive prompt in Rust
https://crates.io/crates/promkit
MIT License
267 stars 7 forks source link

selectbox::SelectBox not found #6

Closed golanor closed 2 years ago

golanor commented 2 years ago

Hi,

I'm trying to run the second example (the first one works), and I receive the following compilation error:

error[E0432]: unresolved import `promkit::selectbox`
 --> src/main.rs:6:55
  |
6 |     build::Builder, crossterm::style, Result, select, selectbox::SelectBox
  |                                                       ^^^^^^^^^ could not find `selectbox` in `promkit`

I'm working on version 0.1.1 on rust 1.62

ynqa commented 2 years ago

@golanor Aww, please use v0.1.2 which I just updated recently (sorry to add the breaking changes in the patch version).