mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Update rust-clipboard to the version with working set_contents.
This commit is contained in:
parent
f86252a60b
commit
9ba18850dd
5 changed files with 4 additions and 5 deletions
|
@ -329,7 +329,6 @@ impl<T: ClipboardProvider> TextInput<T> {
|
|||
},
|
||||
Key::C if is_control_key(mods) => {
|
||||
if let Some(text) = self.get_selection_text() {
|
||||
println!("get_selection_text(): {}", &text);
|
||||
self.clipboard_provider.set_clipboard_contents(text);
|
||||
}
|
||||
KeyReaction::DispatchInput
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue