Skip to content

[nfc] Refactor uses of static_cast<char> on KeyCode#80

Merged
modawan merged 1 commit intomasterfrom
key-code
Feb 20, 2026
Merged

[nfc] Refactor uses of static_cast<char> on KeyCode#80
modawan merged 1 commit intomasterfrom
key-code

Conversation

@modawan
Copy link
Copy Markdown
Owner

@modawan modawan commented Feb 16, 2026

Truncation to char may loose bits and interpret CapsLock as Key9, for example. Fixes #30.

Truncation to char may loose bits and interpret CapsLock as Key9, for
example. Fixes issue #30.
@modawan modawan added this to the Endar Spire milestone Feb 16, 2026
@modawan modawan merged commit 9d1d2d5 into master Feb 20, 2026
2 checks passed
@modawan modawan deleted the key-code branch February 20, 2026 12:26
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.

Fix input::KeyCode truncation to char

1 participant