# Track thread terminal running state across UI and store · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/485747b892fc9825a7b87719d70211fd8d794c5b)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: 485747b892fc9825a7b87719d70211fd8d794c5b

Requested commit: 485747b892fc9825a7b87719d70211fd8d794c5b

Commit: 485747b892fc9825a7b87719d70211fd8d794c5b

Tree: 3e54053c41a82d16228bdc771c152aa2d5abc8a3

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Track thread terminal running state across UI and store

- add `terminalRunning` to thread state and hydration defaults
- apply terminal events in reducer to sync running/open state (close drawer on exit)
- wire drawer running-state callbacks and show a Terminal status pill in sidebar
- extend store and persistence tests for terminal running/exited behavior

```

## Parents

- [15380f2b5f99065efb0100cc47ad96255594ae4e](https://git.cafe/screen/t3code-personal/commit/15380f2b5f99065efb0100cc47ad96255594ae4e?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/485747b892fc9825a7b87719d70211fd8d794c5b?format=markdown)
