Files
t3code/docs/user/terminal.md
T
Theo Browneandwill cf9729d5ee perf(server): bound terminal history by bytes (#9748)
Keep at most 5,000 lines and 8 MiB of retained UTF-8 terminal history. Discard the oldest text at either limit while preserving complete live output.

Track bytes and newlines in small chunks. Join split surrogates before eviction. Restore only the needed file tail, handle short reads, and close the file before rewriting current or legacy history.

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

Co-authored-by: will <[email protected]>
2026-09-04 11:49:15 -07:00

400 B

Terminal history

Each terminal keeps up to 5,000 lines and 8 MiB of scrollback on its environment server. T3 Code removes the oldest output when either limit is reached. A long line can be shortened at the start. New terminal output is not truncated.

These limits apply when you reconnect and when T3 Code restores saved terminal history. A client can show less scrollback than the server keeps.