# Handle terminal exit writes and auto-close exited terminal view · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/80498f1709e05caa744716b740fdcaa884bef8e0)

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

Visibility: public

Requested revision: 80498f1709e05caa744716b740fdcaa884bef8e0

Requested commit: 80498f1709e05caa744716b740fdcaa884bef8e0

Commit: 80498f1709e05caa744716b740fdcaa884bef8e0

Tree: 02989fd14c96f6f59b45bee0bc4c2c095f1ac611

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Handle terminal exit writes and auto-close exited terminal view

- Ignore late write calls after a terminal session has already exited
- Add regression test for trailing writes after exit
- Close terminal drawer session once an exit event is handled

```

## Parents

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

[Source at this commit](https://git.cafe/gitcafe/t3code/tree/80498f1709e05caa744716b740fdcaa884bef8e0?format=markdown)
