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

fix key_state for AHKv2 when no mode argument is given #279

Merged
merged 1 commit into from
Apr 3, 2024
Merged

Conversation

spyoungtech
Copy link
Owner

Resolves #277

When using the key_state method with AutoHotkey v2, when the mode keyword argument is omitted, this produces an error. The argument array becomes undersized and, in AutoHotkey v2, this produces an error when trying to access the argument.

@spyoungtech spyoungtech merged commit 0cd1454 into main Apr 3, 2024
11 checks passed
@coveralls
Copy link

Coverage Status

coverage: 77.223% (-0.02%) from 77.246%
when pulling fc95d07 on gh-277
into 0ef89ef on main.

@spyoungtech spyoungtech deleted the gh-277 branch April 3, 2024 22:18
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.

Invalid Index when calling key_state() in v2
2 participants