aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorJonathan2023-07-13 03:01:17 +0000
committerGitHub2023-07-13 03:01:17 +0000
commit0e0501c510148e7bfa99778c4d561c186c1155bb (patch)
treeeb6391d9405bade232c8be70d531285a1d455377 /helix-term/src
parente86bb64b63856d85808ff4d484413dc3398fdc9c (diff)
Fix piping to Helix on macOS (#5468)
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/application.rs5
1 files changed, 0 insertions, 5 deletions
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)