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 rudimentary key handling #442

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Add rudimentary key handling #442

merged 1 commit into from
Sep 10, 2024

Conversation

JakeWharton
Copy link
Owner

This forces all usages into raw mode, regardless of whether you are listening for keys or not.

Closes #10


  • CHANGELOG.md's "Unreleased" section has been updated, if applicable.

@JakeWharton
Copy link
Owner Author

When rrtop sample exits I can no longer type 😑

@JakeWharton
Copy link
Owner Author

Seems like new snapshot of Mordant fixes that, but breaks key reading altogether.

@EpicDima EpicDima mentioned this pull request Aug 21, 2024
@JakeWharton JakeWharton force-pushed the jw.keys.2024-08-19 branch 2 times, most recently from 0bf690d to e73367f Compare September 3, 2024 22:35
@JakeWharton
Copy link
Owner Author

JakeWharton commented Sep 3, 2024

Still need:

  • Test native key event handling. Should probably port another sample to MPP like robot.
  • Mordant stable release

Otherwise seems all working!

@JakeWharton JakeWharton force-pushed the jw.keys.2024-08-19 branch 3 times, most recently from ee19124 to e77558d Compare September 10, 2024 19:14
@JakeWharton JakeWharton force-pushed the jw.keys.2024-08-19 branch 2 times, most recently from ef2ebc5 to 4729f1c Compare September 10, 2024 20:42
This forces all usages into raw mode, regardless of whether you are listening for keys or not.
@JakeWharton JakeWharton merged commit 2b4cb8a into trunk Sep 10, 2024
1 check passed
@JakeWharton JakeWharton deleted the jw.keys.2024-08-19 branch September 10, 2024 22:11
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

Successfully merging this pull request may close these issues.

Add jline3 and expose raw keyboard input somehow
3 participants