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 Command modifier for input mappings on on MacOS #1382

Merged
merged 2 commits into from
Dec 24, 2023

Conversation

christianparpart
Copy link
Member

This seems to be MacOS specific. The problem is, that Qt does not generate QKeyEvent::text() on key press for Command modifiers with characters (such as C or V), but indeed does on key release events (neither press nor repeat).

We however do not want to trigger input mappings on release but on press (for now).

Closes #1379.

@github-actions github-actions bot added the frontend Contour Terminal Emulator (GUI frontend) label Dec 23, 2023
This seems to be MacOS specific. The problem is, that Qt does not
generate QKeyEvent::text() on key press for Command modifiers with
characters (such as C or V), but indeed does on key release events
(neither press nor repeat).
@christianparpart christianparpart force-pushed the fix/macos-command-modifier-bindings branch from a006a98 to c29a123 Compare December 23, 2023 20:13
@christianparpart christianparpart merged commit 8cdfb3f into master Dec 24, 2023
20 checks passed
@christianparpart christianparpart deleted the fix/macos-command-modifier-bindings branch December 24, 2023 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Contour Terminal Emulator (GUI frontend)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Copy selected text in terminal using CMD+c on macOS doesn't work
1 participant