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

API for raw input mode? #60

Open
jonathanpallant opened this issue Jul 21, 2023 · 0 comments
Open

API for raw input mode? #60

jonathanpallant opened this issue Jul 21, 2023 · 0 comments

Comments

@jonathanpallant
Copy link
Contributor

Currently stdin provide bytes, and any 'special' keys (like Cursor Up, or Page Down) need to encoded into ANSI sequences. Encoding them into ANSI and making the application decode them again is a bit of work, so it would be nice to get raw key events in Applications...

...however raw key events won't work when you are using a serial terminal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant