ynqa / promkit

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

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

Open mainrs opened 3 weeks ago

mainrs commented 3 weeks 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.