Skip to content

Performing actions on keypress #49

@freekmurze

Description

@freekmurze

First of all, thank you for your excellent work on this. Really like the package.

I'm having trouble figuring out how actions could be performed on keypress.

This is the screen of a console app I'm building
screen shot 2017-08-01 at 23 12 20

This is the code that tries to figure out which key has been pressed.

Unfortunately it know only works by pressing the letter and then enter. I want to get rid of the required press on enter to invoke the action.

How can this be achieved?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions