From a51b8edcff47512799135cb2128b4a99af78cd8d Mon Sep 17 00:00:00 2001 From: Jonathan Goren Date: Wed, 12 Jul 2023 17:27:55 +0300 Subject: [PATCH] selectively enable crossterm/use-dev-tty --- helix-term/Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/helix-term/Cargo.toml b/helix-term/Cargo.toml index 97c42956d51d..9cfe1d6edcee 100644 --- a/helix-term/Cargo.toml +++ b/helix-term/Cargo.toml @@ -37,7 +37,7 @@ which = "4.4" tokio = { version = "1", features = ["rt", "rt-multi-thread", "io-util", "io-std", "time", "process", "macros", "fs", "parking_lot"] } tui = { path = "../helix-tui", package = "helix-tui", default-features = false, features = ["crossterm"] } -crossterm = { version = "0.26", features = ["event-stream", "use-dev-tty"] } +crossterm = { version = "0.26", features = ["event-stream"] } signal-hook = "0.3" tokio-stream = "0.1" futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false } @@ -70,6 +70,9 @@ grep-searcher = "0.1.11" signal-hook-tokio = { version = "0.3", features = ["futures-v0_3"] } libc = "0.2.146" +[target.'cfg(target_os = "macos")'.dependencies] +crossterm = { version = "0.26", features = ["event-stream", "use-dev-tty"] } + [build-dependencies] helix-loader = { version = "0.6", path = "../helix-loader" }