# Add close-terminal actions and state handling in thread drawer · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/ee463f6b76a9217fa1d5eb03519c039bed3db1cb)

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

Visibility: public

Requested revision: ee463f6b76a9217fa1d5eb03519c039bed3db1cb

Requested commit: ee463f6b76a9217fa1d5eb03519c039bed3db1cb

Commit: ee463f6b76a9217fa1d5eb03519c039bed3db1cb

Tree: f109f46abfd376d868d7408964dadc5e537425da

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Add close-terminal actions and state handling in thread drawer

- Add terminal close controls in tab and split terminal views
- Send `exit` before closing and update active terminal/focus in chat state
- Add reducer support and tests for closing tabs, split fallback, and final-terminal drawer hide

```

## Parents

- [800eb3b547aa5e073248f1db9272efe556df6928](https://git.cafe/pingdotgg/t3code/commit/800eb3b547aa5e073248f1db9272efe556df6928?format=markdown)

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