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

(v2) refactor: windows: clean up, tidy and improve windows key handling #1163

Open
wants to merge 1 commit into
base: v2-exp
Choose a base branch
from

Conversation

aymanbagabas
Copy link
Member

@aymanbagabas aymanbagabas commented Sep 20, 2024

This fixes a bunch of issues on Windows bringing improvements and reliability to the implementation. It replaces the existing key events hack with a key state that keeps track of previous key events to parse the incoming ANSI escape sequences. It also decodes unicode utf16 pairs at the parser level instead of the driver level.

Related: #1126

TODO:

  • Windows API tests
    • Key events
    • Mouse events
    • Resize events
    • Focus events

This fixes a bunch of issues on Windows bringing improvements and
reliability to the implementation. It replacing the existing key events
hack with a key state that keeps track of previous key events to parse
the incoming ANSI escape sequences. It also decodes unicode utf16 pairs
at the parser level instead of the driver level.

Related: #1126
@aymanbagabas aymanbagabas self-assigned this Sep 20, 2024
@aymanbagabas aymanbagabas added this to the v2.0.0 milestone Sep 20, 2024
@aymanbagabas aymanbagabas changed the title refactor: windows: clean up, tidy and improve windows key handling (v2) refactor: windows: clean up, tidy and improve windows key handling Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant