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

Write clipboard support and TextInput copy and cut behavior #770

Merged
merged 4 commits into from
Mar 10, 2021

Conversation

hecrj
Copy link
Member

@hecrj hecrj commented Mar 10, 2021

This PR introduces support for write operations to the clipboard as well as TextInput copy and cut behavior.

Specifically, it

  • Updates the window_clipboard dependency to 0.2 to enable write access to the clipboard.
  • Introduces a write method to the Clipboard trait.
  • Changes the Option<&dyn Clipboard> argument in a bunch of places to &mut dyn Clipboard.
  • Implements copy and cut behavior for the TextInput widget.

Closes #295.

@hecrj hecrj added the feature New feature or request label Mar 10, 2021
@hecrj hecrj added this to the 0.3.0 milestone Mar 10, 2021
@hecrj hecrj merged commit 7eb5127 into master Mar 10, 2021
@hecrj hecrj deleted the feature/clipboard-write branch March 10, 2021 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clipboard support?
1 participant