Skip to content

Conversation

@tdaron
Copy link
Contributor

@tdaron tdaron commented May 28, 2025

Hey !

This pull request corrects the override examples of keymap.on_key_pressed in the developer documentation. Previously, the code incorrectly passed self as the first argument to keymap_on_key_pressed, which does not match the actual function signature. The updated examples now correctly pass only key and any additional arguments, ensuring the sample code aligns with the intended API usage.

@takase1121 takase1121 merged commit f7f2931 into lite-xl:master May 28, 2025
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.

2 participants