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

Fixes modifiers type signature in input_key callback #276

Merged
merged 1 commit into from Apr 26, 2023

Conversation

cipharius
Copy link
Contributor

Internally arcan uses uint16 for representing modifiers bitset, while this callback used to squeeze it into uint8.

@letoram
Copy link
Owner

letoram commented Apr 16, 2023

the change itself is valid, but other consumers of the API still use the old signature (some tests, arcterm/tui-lua bindings) and yield build warnings or -worse-, bleed into next arg.

Internally arcan uses uint16 for representing modifiers bitset, while this callback used to squeeze it into uint8.
@cipharius cipharius force-pushed the incorrect-tui-modifiers-type branch from f8c2d8f to c35677c Compare April 25, 2023 21:24
@letoram letoram merged commit 42ec5d8 into letoram:master Apr 26, 2023
2 checks passed
@cipharius cipharius deleted the incorrect-tui-modifiers-type branch May 16, 2023 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants