clipboard: fix import on macOS

pull/1872/head
Blaž Hrastnik 3 years ago
parent 33510d60f4
commit 511f37c736
No known key found for this signature in database
GPG Key ID: 1238B9C4AD889640

@ -63,7 +63,7 @@ pub fn get_clipboard_provider() -> Box<dyn ClipboardProvider> {
#[cfg(target_os = "macos")] #[cfg(target_os = "macos")]
pub fn get_clipboard_provider() -> Box<dyn ClipboardProvider> { pub fn get_clipboard_provider() -> Box<dyn ClipboardProvider> {
use command::exists; use provider::command::exists;
if exists("pbcopy") && exists("pbpaste") { if exists("pbcopy") && exists("pbpaste") {
command_provider! { command_provider! {

Loading…
Cancel
Save