-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add a way to get a user-facing string representation of keybind…
…ings (#211) * Add a way to get a user facing text representation of keybindings (with optional key symbols and taking into account OS/platform differences) * style: [pre-commit.ci] auto fixes [...] * Typing * More typing * Add 'Alt' key usage over test * Move mappings and logic to '_key_codes.py', introduce 'joinchar' param and add more tests * Apply suggestions from code review Co-authored-by: Talley Lambert <[email protected]> * Update method names and add/improve methods docstrings --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Talley Lambert <[email protected]>
- Loading branch information
1 parent
0e801a9
commit f1e911b
Showing
4 changed files
with
230 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters