diff --git a/Cargo.toml b/Cargo.toml index 0b2e4560..59cf8142 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ arc-swap = "1.7.1" base64 = "0.22.1" bitflags = "2.6.0" clap = { version = "4.5.11", features = [ "derive" ] } -crossterm = { version = "0.27.0", features = [ "event-stream", "use-dev-tty" ] } +crossterm = { version = "0.27.0", features = [ "event-stream" ] } dirs = "5.0.1" futures = "0.3.30" globset = "0.4.14" diff --git a/yazi-adapter/Cargo.toml b/yazi-adapter/Cargo.toml index eee9a9b9..2bb963c3 100644 --- a/yazi-adapter/Cargo.toml +++ b/yazi-adapter/Cargo.toml @@ -31,4 +31,4 @@ tokio = { workspace = true } tracing = { workspace = true } [target.'cfg(target_os = "macos")'.dependencies] -crossterm = { workspace = true } +crossterm = { workspace = true, features = [ "use-dev-tty" ] } diff --git a/yazi-cli/Cargo.toml b/yazi-cli/Cargo.toml index 67869b31..b701790d 100644 --- a/yazi-cli/Cargo.toml +++ b/yazi-cli/Cargo.toml @@ -35,7 +35,7 @@ serde_json = { workspace = true } vergen-gitcl = { version = "1.0.0", features = [ "build" ] } [target.'cfg(target_os = "macos")'.dependencies] -crossterm = { workspace = true } +crossterm = { workspace = true, features = [ "use-dev-tty" ] } [[bin]] name = "ya" diff --git a/yazi-config/Cargo.toml b/yazi-config/Cargo.toml index f2571430..6bc765c7 100644 --- a/yazi-config/Cargo.toml +++ b/yazi-config/Cargo.toml @@ -25,4 +25,4 @@ toml = { version = "0.8.17", features = [ "preserve_order" ] } validator = { version = "0.18.1", features = [ "derive" ] } [target.'cfg(target_os = "macos")'.dependencies] -crossterm = { workspace = true } +crossterm = { workspace = true, features = [ "use-dev-tty" ] } diff --git a/yazi-core/Cargo.toml b/yazi-core/Cargo.toml index 32a3b059..663e2eab 100644 --- a/yazi-core/Cargo.toml +++ b/yazi-core/Cargo.toml @@ -43,4 +43,4 @@ tracing = { workspace = true } libc = { workspace = true } [target.'cfg(target_os = "macos")'.dependencies] -crossterm = { workspace = true } +crossterm = { workspace = true, features = [ "use-dev-tty" ] } diff --git a/yazi-fm/Cargo.toml b/yazi-fm/Cargo.toml index 72b1f794..e9c45584 100644 --- a/yazi-fm/Cargo.toml +++ b/yazi-fm/Cargo.toml @@ -46,7 +46,7 @@ libc = { workspace = true } signal-hook-tokio = { version = "0.3.1", features = [ "futures-v0_3" ] } [target.'cfg(target_os = "macos")'.dependencies] -crossterm = { workspace = true } +crossterm = { workspace = true, features = [ "use-dev-tty" ] } [target.'cfg(all(not(target_os = "macos"), not(target_os = "windows")))'.dependencies] tikv-jemallocator = "0.6.0" diff --git a/yazi-plugin/Cargo.toml b/yazi-plugin/Cargo.toml index 71ce2490..6f8a4082 100644 --- a/yazi-plugin/Cargo.toml +++ b/yazi-plugin/Cargo.toml @@ -49,4 +49,4 @@ uzers = "0.12.0" clipboard-win = "5.4.0" [target.'cfg(target_os = "macos")'.dependencies] -crossterm = { workspace = true } +crossterm = { workspace = true, features = [ "use-dev-tty" ] } diff --git a/yazi-shared/Cargo.toml b/yazi-shared/Cargo.toml index 9581cdbf..f4780cf3 100644 --- a/yazi-shared/Cargo.toml +++ b/yazi-shared/Cargo.toml @@ -28,4 +28,4 @@ tokio = { workspace = true } windows-sys = { version = "0.59.0", features = [ "Win32_Storage_FileSystem", "Win32_UI_Shell" ] } [target.'cfg(target_os = "macos")'.dependencies] -crossterm = { workspace = true } +crossterm = { workspace = true, features = [ "use-dev-tty" ] }