terminal: Drain task output on completion (#23085)
Now we ensure that task output is fully drained and printed to Zed
terminal pane on task completion.
This change depends on a recent change to alacritty_terminal crate:
5e78d20c70
.
Closes https://github.com/zed-industries/zed/issues/18342
Release Notes:
- Fixed missing task terminal output on Linux for short-running commands
This commit is contained in:
parent
d4d36d1adf
commit
2ef4883937
4 changed files with 13 additions and 24 deletions
|
@ -376,7 +376,7 @@ impl TerminalBuilder {
|
|||
working_directory: working_directory
|
||||
.clone()
|
||||
.or_else(|| Some(home_dir().to_path_buf())),
|
||||
hold: false,
|
||||
drain_on_exit: true,
|
||||
env: env.into_iter().collect(),
|
||||
}
|
||||
};
|
||||
|
@ -441,7 +441,7 @@ impl TerminalBuilder {
|
|||
term.clone(),
|
||||
ZedListener(events_tx.clone()),
|
||||
pty,
|
||||
pty_options.hold,
|
||||
pty_options.drain_on_exit,
|
||||
false,
|
||||
)?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue