# terminal: Drain task output on completion \(\#23085\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2ef488393734470356489e163b038657e3c733c7)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2ef488393734470356489e163b038657e3c733c7

Requested commit: 2ef488393734470356489e163b038657e3c733c7

Commit: 2ef488393734470356489e163b038657e3c733c7

Tree: 95cb518890550754ea495b295d5529944b4fa343

Author: Andrew Borg \(Kashin\)

Committer: GitHub

## Message

```
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:
https://github.com/alacritty/alacritty/commit/5e78d20c709cb1ab8d44ca7a8702cc26d779227c.

Closes https://github.com/zed-industries/zed/issues/18342

Release Notes:

- Fixed missing task terminal output on Linux for short-running commands
```

## Parents

- [d4d36d1adf0559cb4e6010c4fef880e0725ea0b0](https://git.cafe/gitcafe/zed/commit/d4d36d1adf0559cb4e6010c4fef880e0725ea0b0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2ef488393734470356489e163b038657e3c733c7?format=markdown)
