TEXT SELECTION
This commit is contained in:
@@ -160,6 +160,11 @@ impl Client {
|
||||
}
|
||||
self.run_event(sel, Edited, ());
|
||||
}
|
||||
TextInputResult::Copy(text) => {
|
||||
if let Err(err) = self.clipboard.set_text(text) {
|
||||
eprintln!("failed to copy text to clipboard: {err}")
|
||||
}
|
||||
}
|
||||
TextInputResult::Used => {
|
||||
self.run_event(sel, Edited, ());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user