feat: MultiSelect option to select item under cursor #325
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds an option to select the item under the cursor if nothing is selected. Many users, myself included, have a habit of choosing an item and hitting enter instead of selecting and then enter. By enabling the default_under_cursor option, this would return the item under cursor instead of an empty set.
I have tested the changes manually, not sure if I can test them some other way.
Feel free to reject or suggest changes, I've been using this in my own utilities and want to contribute back.