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 issue: Clipboard usage on WebAssembly #389

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

federicovilla55
Copy link
Contributor

Fixed the keyPressEvent method in the Console class so that it is possible to copy/paste text from/to the clipboard with default handling shortcuts Ctrl+C and Ctrl+V.
Pasted text is appended to m_buffer along with the rest of the typed input and displayed only if m_localEchoEnabled is true.
The standard method for Qt Clipboard, QGuiApplication::clipboard(), is used.

This fixes issue #386.

@federicovilla55 federicovilla55 changed the title Fix issue: Clipboard usage on WebAssembly #386 Fix issue: Clipboard usage on WebAssembly Jan 31, 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.

1 participant