mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 12:38:02 +00:00
Revert hold: true
for macOS tasks (#14376)
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
This commit is contained in:
parent
489077befc
commit
dd63e25f23
1 changed files with 4 additions and 0 deletions
|
@ -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(),
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue