From dd2fd6d6efe93d2c6d3995f3ccfffe4627d43401 Mon Sep 17 00:00:00 2001 From: sxyazi Date: Wed, 30 Apr 2025 22:33:35 +0800 Subject: [PATCH] .. --- yazi-term/Cargo.toml | 3 +++ yazi-widgets/Cargo.toml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/yazi-term/Cargo.toml b/yazi-term/Cargo.toml index e44e7fe0..1f2eb148 100644 --- a/yazi-term/Cargo.toml +++ b/yazi-term/Cargo.toml @@ -22,3 +22,6 @@ parking_lot = { workspace = true } [target."cfg(unix)".dependencies] libc = { workspace = true } + +[target.'cfg(target_os = "macos")'.dependencies] +crossterm = { workspace = true, features = [ "use-dev-tty", "libc" ] } diff --git a/yazi-widgets/Cargo.toml b/yazi-widgets/Cargo.toml index ff15ece9..8e04168c 100644 --- a/yazi-widgets/Cargo.toml +++ b/yazi-widgets/Cargo.toml @@ -20,3 +20,6 @@ crossterm = { workspace = true } futures = { workspace = true } ratatui = { workspace = true } unicode-width = { workspace = true } + +[target.'cfg(target_os = "macos")'.dependencies] +crossterm = { workspace = true, features = [ "use-dev-tty", "libc" ] }