Skip to content

Conversation

@gscalise
Copy link

@gscalise gscalise commented Jun 2, 2025

This PR addresses the-via/releases#273, which is caused by broken input validation code that doesn't consider +/- characters (for example, in the string {+KC_LGUI}a{-KC_LGUI}) when validating macros.

The change updates the isAutocompleteKeycode function to strip leading "+" or "-" characters from the keycode before checking it against autocompleteKeycodes.

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.

1 participant