diff --git a/src/frontend/guicommon/host.rs b/src/frontend/guicommon/host.rs index dcf62d7db..704e9749b 100644 --- a/src/frontend/guicommon/host.rs +++ b/src/frontend/guicommon/host.rs @@ -113,11 +113,11 @@ impl HostImpl { return Ok(true); } - if cfg!(target_os = "macos") && mods == KeyModifiers::SUPER && key == KeyCode::Char('c') { + if mods == KeyModifiers::SUPER && key == KeyCode::Char('c') { // Nominally copy, but that is implicit, so NOP return Ok(true); } - if (cfg!(target_os = "macos") && mods == KeyModifiers::SUPER && key == KeyCode::Char('v')) + if (mods == KeyModifiers::SUPER && key == KeyCode::Char('v')) || (mods == KeyModifiers::SHIFT && key == KeyCode::Insert) { let text = self.get_clipboard()?;