ynqa / promkit

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

Make QuerySelector's filter function work on the items slice on strings #28

Open mainrs opened 4 months ago

mainrs commented 4 months ago

Right now the filter functions gets the stringified items as an argument. Would it be possible to receive the items slice instead? It would make filtering in my case easier, since my data is structured.