G-006 · Source-reviewed · mutable documentation

Keep Your Terminal Scrollback: Codex tui.alternate_screen Boundaries

A bounded explanation of the documented Codex CLI TUI alternate-screen setting and its scrollback limit.

Evidence and limitations

Applies to
Codex CLI TUI
Version evidence
current mutable official documentation
Evidence sources
Current official TUI options and configuration reference checked 2026-07-17; mutable documentation, not a terminal persistence claim.
Evidence observed
2026-07-17
Verification
Source-reviewed · mutable documentation; not manually tested in every terminal environment.
Rights / permission reference
Original editorial text by CodexSkin.space; external sources are linked for evidence.
Asset hosting
external-original-only; cited third-party assets are not rehosted.
Last reviewed
2026-07-17

Independent notice

CodexSkin.space is an independent community guide site and is not affiliated with, endorsed by, or sponsored by OpenAI. “OpenAI,” “Codex,” and “ChatGPT” may be trademarks of their respective owners.

External links are source links for evaluation. This guide does not certify safety, security, compatibility, quality, rights, or suitability.

Risk notes

Terminal emulators, multiplexers, and remote sessions can handle display buffers differently. Retained scrollback is not an audit log, transcript-retention policy, session restore mechanism, or recovery guarantee.

Rollback

No environment-specific rollback procedure is established here. Recheck the current official reference before changing a local configuration.

What this option controls

The official TUI options describe tui.alternate_screen as controlling use of the terminal alternate screen. This is a display-buffer choice for the interactive Codex CLI TUI, not a theme setting and not a saved-session feature.

The narrow scrollback use case

The current reference identifies never as the setting to avoid using the alternate screen when retaining ordinary terminal scrollback is the goal. Read the current reference for the authoritative value set and exact behavior before making a local change.

What it does not provide

Visible scrollback is not evidence that Codex has preserved a complete interaction, created a durable log, retained an audit trail, or made an operation reversible. Local terminal, multiplexer, and remote-session behavior remains environment-dependent.

Primary source links

Continue with the next evidence question.

Corrections and rights reports

For corrections or rights-related reports, contact contact@codexskin.space.