You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tui: add codex resume --history-lines to cap replayed scrollback #12945
Add a codex resume --history-lines <LINES> option to cap replayed scrollback output when resuming a session.
Why
For long sessions, codex resume can spend noticeable time printing a large backlog before the prompt is usable. In practice, most of that output is low-value when the goal is to quickly continue work.
A replay line cap makes resume startup faster and keeps terminal output focused on recent context.
Proposed behavior
New flag: codex resume --history-lines <positive-int>
Applies only to replayed resume output (not normal live output after startup)
Default behavior remains unchanged when the flag is omitted
Ready implementation
I have a complete, tested implementation in my fork:
Activity
teneko commentedon Feb 26, 2026
Yep, it happened to me that I actually had to wait about 3-5 minutes until I actually could continue the session. That's rough.
etraut-openai commentedon Apr 3, 2026
This feature request hasn't received enough upvotes, so closing.