clipboard: fix import on macOS
This commit is contained in:
parent
33510d60f4
commit
511f37c736
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue