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

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

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

Visibility: public

Requested revision: 817c5e633d47a582018c0ff5a38d711b6bc61918

Requested commit: 817c5e633d47a582018c0ff5a38d711b6bc61918

Commit: 817c5e633d47a582018c0ff5a38d711b6bc61918

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

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

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