Skip to content

Write clipboard support and TextInput copy and cut behavior#770

Merged
hecrj merged 4 commits into
masterfrom
feature/clipboard-write
Mar 10, 2021
Merged

Write clipboard support and TextInput copy and cut behavior#770
hecrj merged 4 commits into
masterfrom
feature/clipboard-write

Conversation

@hecrj
Copy link
Copy Markdown
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