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

Merged
merged 7 commits into from
Oct 16, 2024

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

@aymanbagabas aymanbagabas force-pushed the v2-windows-api branch 2 times, most recently from 795bd16 to c6c153a Compare September 20, 2024 16:25
@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
@aymanbagabas aymanbagabas force-pushed the v2-windows-api branch 4 times, most recently from d60fcae to d61763d Compare October 15, 2024 20:51
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 merged commit 5d08fe9 into v2-exp Oct 16, 2024
30 checks passed
@aymanbagabas aymanbagabas deleted the v2-windows-api branch October 16, 2024 01:58
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