Skip to content

Add onEmpty command binding #19

@funbiscuit

Description

@funbiscuit

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions