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

Centralize keyboard shortcuts #1175

Merged
merged 3 commits into from
May 1, 2024
Merged

Centralize keyboard shortcuts #1175

merged 3 commits into from
May 1, 2024

Conversation

microbit-robert
Copy link
Collaborator

No description provided.

Copy link

@microbit-robert
Copy link
Collaborator Author

Keyboard shortcut handlers are currently registered in the same components that host the UI for triggering the same action.

The Xterm keyboard shortcuts are already scoped to the serial terminals and it looks like more effort than it's worth to use this new hook for a custom copy handler and escape hatch.

@microbit-matt-hillsdon microbit-matt-hillsdon marked this pull request as ready for review May 1, 2024 08:45
@microbit-matt-hillsdon microbit-matt-hillsdon self-requested a review May 1, 2024 08:46
Copy link
Collaborator

@microbit-matt-hillsdon microbit-matt-hillsdon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@microbit-robert microbit-robert merged commit bcedfb3 into main May 1, 2024
1 check passed
@microbit-robert microbit-robert deleted the keyboard-shortcuts branch May 1, 2024 08:51
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