-
Notifications
You must be signed in to change notification settings - Fork 33
Filterable widgets #101
Copy link
Copy link
Open
Description
Hi! I'm using the select widget with the filter_mode but I can't insert any space.
let commit = select("Select a word")
.items(&mapped_commit)
.filter_mode()
.interact()?;
Anyways, I looked around how the select works and I found something interesting about the FilteredView<T>.
the filter explicitly ignores the space
Then, I tried to replicate the Select and remove that behaviour but the PromptInteraction trait but all it's private (it's marked as pub(crate)), it's quite annoying because everyone that wants to extends their own components, they just simply can't.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels