Restore original clipboard before render, in case it's used during render

This commit is contained in:
Andy Kluger 2020-07-15 16:47:18 -04:00
parent a4e30fdc64
commit 8428457be1

View File

@ -373,6 +373,9 @@ impl<
} else {
info!("Passive mode activated");
// Restore original clipboard in case it's used during render
self.clipboard_manager.set_clipboard(&previous_clipboard);
let rendered = self.renderer.render_passive(&clipboard, &config);
match rendered {