# perf\(server\): stop rebuilding terminal history per chunk \(\#9703\) · screen/t3code-personal

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

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

Visibility: public

Requested revision: 3bbbc1d9fd8b3d649c60ba0137c7dae93a6aab3f

Requested commit: 3bbbc1d9fd8b3d649c60ba0137c7dae93a6aab3f

Commit: 3bbbc1d9fd8b3d649c60ba0137c7dae93a6aab3f

Tree: 235922a2a70bf9cd5cfa4bdaded8eb37f6256191

Author: Theo Browne

Committer: GitHub

## Message

```
perf(server): stop rebuilding terminal history per chunk (#9703)

Append terminal history incrementally and materialize text for snapshots and coalesced disk writes.
Clear evicted line references without changing retained output.

Continues [#9357](https://github.com/pingdotgg/t3code/pull/9357). The original contribution and author credit are preserved.
The current line limit and wire format stay unchanged. A strict byte limit remains separate work.

Created with GPT-6 Astra (preview) in Codex.

Co-authored-by: will <will@moondiner.com>
```

## Parents

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

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