Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add onEmpty command binding #19

Open
funbiscuit opened this issue Nov 10, 2022 · 0 comments
Open

Add onEmpty command binding #19

funbiscuit opened this issue Nov 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@funbiscuit
Copy link
Owner

Currently on any user input something is called - either registered binding or general onCommand when given command is not registered. The only exception is if input empty (user pressed "enter" multiple times). In this case nothing is called.
Add extra optional command binding - onEmpty which will be called when entered command is empty (or contains only whitespace).

Initial request by @Jeff-RavenLabs in #18

@funbiscuit funbiscuit added the enhancement New feature or request label Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant