# perf\(web\): stop replaying terminal buffers on rollover \(\#9707\) · screen/t3code-personal

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

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

Visibility: public

Requested revision: da7e46d08e85bcb07ecd78721a40f7b612fac2f2

Requested commit: da7e46d08e85bcb07ecd78721a40f7b612fac2f2

Commit: da7e46d08e85bcb07ecd78721a40f7b612fac2f2

Tree: dd14e64aa9b665d52f3c654f6495ff638c118236

Author: Theo Browne

Committer: GitHub

## Message

```
perf(web): stop replaying terminal buffers on rollover (#9707)

Keep bounded, byte-counted terminal chunks and append only unread output. Use UTF-16 cursors so compaction preserves live terminal replies. Reset on lifecycle changes or a real retained-data gap.

Keep the existing wire protocol, native buffer interface, and client retention limit. Native streaming and strict server replay byte bounds remain separate.

Continue the client helpers from https://github.com/pingdotgg/t3code/pull/9027 at source head 9391da2b48439d1d7a2b01d169e785682bf8abb8.

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

Co-Authored-By: Wout Stiens <71498452+StiensWout@users.noreply.github.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
```

## Parents

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

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