Revert `hold: true` for macOS tasks (#14376)

Kirill Bulatov created

Otherwise, ctrl-c makes them stuck being held from time to time

Follow-up of https://github.com/zed-industries/zed/pull/13898 that
reverts the macOS-related part of the PR.

Release Notes:

- N/A

Change summary

crates/terminal/src/terminal.rs | 4 ++++
1 file changed, 4 insertions(+)

Detailed changes

crates/terminal/src/terminal.rs 🔗

@@ -346,7 +346,11 @@ impl TerminalBuilder {
             alacritty_terminal::tty::Options {
                 shell: alac_shell,
                 working_directory: working_directory.clone(),
+                #[cfg(target_os = "linux")]
                 hold: !matches!(shell.clone(), Shell::System),
+                // with hold: true, macOS gets tasks stuck on ctrl-c interrupts periodically
+                #[cfg(not(target_os = "linux"))]
+                hold: false,
                 env: env.into_iter().collect(),
             }
         };