Do not hold any tasks by default and no other terminals (#16847)

This commit is contained in:
Kirill Bulatov 2024-08-27 01:48:34 +03:00 committed by GitHub
parent 29745ae229
commit f64f85eb1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 89 deletions

View file

@ -345,10 +345,6 @@ 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(),
}