1 parent
f478672fd8
commit
1a71a0b216
2 files changed
+11
-9
No files matched your search
@@ -624,7 +624,7 @@ impl<'a> Performer<'a> {
|
||||
let selection = selection_to_selection(selection);
|
||||
match self.set_clipboard_contents(selection, Some(selection_data)) {
|
||||
Ok(_) => (),
|
||||
Err(err) => error!("failed to set clipboard in response to OSC 52: {:?}", err),
|
||||
Err(err) => error!("failed to set clipboard in response to OSC 52: {:#?}", err),
|
||||
}
|
||||
}
|
||||
OperatingSystemCommand::ITermProprietary(iterm) => match iterm {
|
||||
|
||||
@@ -742,14 +742,16 @@ impl Clipboard for RemoteClipboard {
|
||||
selection: ClipboardSelection,
|
||||
clipboard: Option<String>,
|
||||
) -> anyhow::Result<()> {
|
||||
self.sender.send(DecodedPdu {
|
||||
serial: 0,
|
||||
pdu: Pdu::SetClipboard(SetClipboard {
|
||||
pane_id: self.pane_id,
|
||||
clipboard,
|
||||
selection,
|
||||
}),
|
||||
})?;
|
||||
self.sender
|
||||
.send(DecodedPdu {
|
||||
serial: 0,
|
||||
pdu: Pdu::SetClipboard(SetClipboard {
|
||||
pane_id: self.pane_id,
|
||||
clipboard,
|
||||
selection,
|
||||
}),
|
||||
})
|
||||
.context("RemoteClipboard::set_contents send failed")?;
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user