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

Add clipboard functions #2594

Merged
merged 7 commits into from
Apr 2, 2024
Merged

Add clipboard functions #2594

merged 7 commits into from
Apr 2, 2024

Conversation

ZeroCool940711
Copy link
Contributor

@ZeroCool940711 ZeroCool940711 commented Feb 22, 2024

This PR adds clipboard functions to read and write to/from the clipboard. The functions include read(), readText(), write(), and writeText(). These functions should allow users to interact with the clipboard and perform operations such as reading data from the clipboard and writing data to the clipboard.

Note: For now I've only tested ui.clipboard.write() and ui.clipboard.writeText(), which is why this PR will be a draft until we figure out if everything works as expected.


Feature request: #2575

Open tasks:

  • tests
  • documentation

@falkoschindler falkoschindler self-requested a review March 20, 2024 13:30
@falkoschindler falkoschindler added the enhancement New feature or request label Mar 20, 2024
@falkoschindler falkoschindler marked this pull request as ready for review March 20, 2024 13:30
@falkoschindler falkoschindler added this to the 1.4.20 milestone Mar 20, 2024
@rodja rodja merged commit 4d4814e into zauberzeug:main Apr 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants