ynqa / promkit

A toolkit for building interactive prompt in Rust
MIT License
237 stars 6 forks source link

selectbox::SelectBox not found #6

Closed golanor closed 1 year ago

golanor commented 1 year 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 1 year ago

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