From 0e0501c510148e7bfa99778c4d561c186c1155bb Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 13 Jul 2023 06:01:17 +0300 Subject: Fix piping to Helix on macOS (#5468) --- helix-term/src/application.rs | 5 ----- 1 file changed, 5 deletions(-) (limited to 'helix-term/src') diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 546a57a9..b8950ae0 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -211,11 +211,6 @@ impl Application { } } else if stdin().is_tty() || cfg!(feature = "integration") { editor.new_file(Action::VerticalSplit); - } else if cfg!(target_os = "macos") { - // On Linux and Windows, we allow the output of a command to be piped into the new buffer. - // This doesn't currently work on macOS because of the following issue: - // https://github.com/crossterm-rs/crossterm/issues/500 - anyhow::bail!("Piping into helix-term is currently not supported on macOS"); } else { editor .new_file_from_stdin(Action::VerticalSplit) -- cgit v1.2.3-70-g09d2