$ the-wire · showcase
Codex reworks its TUI: scrollback, paste search, and session launching
By RepoJournal · Filed · About OpenAI · Composed from the cited sources · methodology
openai/codex spent the day on terminal ergonomics, from preserving scrollback in QTermWidget and xterm.js to routing pastes into an active history search and opening sessions straight from the command center.
Preserve terminal scrollback when growing the TUI viewport openai/codex
Growing the TUI viewport used to discard history rows in QTermWidget and xterm.js, per the PR's rationale about CSI S scrolling. The fix writes newlines at the bottom of the history scroll region for ScrollbackStrategy::Standard, restoring the composer, cursor, and full-screen scroll region afterward, with a fallback to full-screen scrolling when only one history row exists since DECSTBM needs ...
Open new sessions directly from the command center openai/codex
The inline task composer is replaced by a session list: n opens a blank session in the selected checkout without sending an initial turn or interrupting running agents, with single-letter shortcuts and Enter to open, Esc to cancel search or rename, and Ctrl+C to quit. Destination settings load for new sessions while explicit permission choices carry over.
Route pastes into the active history search query openai/codex
Pasting during Ctrl+R history search previously went through normal composer paste handling instead of updating the query, as the PR explains. Pasted text is now sanitized and appended to the active query with matching restarted from the newest history entry, empty pastes are ignored so the selected match survives, and newlines and tabs render as arrows in the footer.
Add worktree session creation to the agents overview openai/codex
A configurable new_worktree action bound to w creates a worktree for local sessions with worktree support enabled, built from the cached project default branch and preferring remote HEAD over conventional main or master refs without fetching. The selected subdirectory and source checkout edits are preserved while a blank session starts and binds in the new worktree.
Extract Windows sandbox configuration preparation into a helper openai/codex
Windows sandbox configuration preparation moved into new prepare_windows_sandbox_config and PreparedWindowsSandboxConfig helpers used during config loading, keeping requirement enforcement and the configured-mode versus effective-sandbox-level split intact, with a unit test for explicit-mode precedence.