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
Scrollback in iTerm2 doesn't work unless "Save lines to scrollback when an app status bar is present" is enabled #2485
It appears that iTerm2's default behavior causes it to swallow any lines of the conversation that scroll past the top of the terminal.
Enabling "Save lines to scrollback when an app status bar is present" in the profile settings in iTerm2 fixes this behavior.
I'm guessing that iTerm2 treats Codex's input bar as a "status bar" in this context.
I'm not sure if there's much that Codex CLI can do about fixing this, so feel free to close this -- I'm posting this also in case other people run into this.
Reacted by Doug Tabacco, youurayy, John Boiles, Laurent Crisci, M-M-M-M, Qiyuan Gong (SII), Guro Bokum, therealmarv, mo., alanzhang201834 and 2 more
changed the title [-]Scrollback in iTerm2 doesn't work unless "Saves lines to scrollback when an app status bar is present" is enabled[/-][+]Scrollback in iTerm2 doesn't work unless "Save lines to scrollback when an app status bar is present" is enabled[/+]on Aug 20, 2025
@joliss I believe that option is enabled by default in iTerm, and while i'm not entirely sure how iterm detects an "app status bar", it's at least plausible to me that this is functioning as intended in iTerm.
Activity
[-]Scrollback in iTerm2 doesn't work unless "Saves lines to scrollback when an app status bar is present" is enabled[/-][+]Scrollback in iTerm2 doesn't work unless "Save lines to scrollback when an app status bar is present" is enabled[/+]nrbrd commentedon Aug 20, 2025
I have the same issue with zellij and different terminals, and I couldn't find a way to avoid this problem
aibrahim-oai commentedon Sep 8, 2025
Is this still the case?
nornagon-openai commentedon Sep 8, 2025
@joliss I believe that option is enabled by default in iTerm, and while i'm not entirely sure how iterm detects an "app status bar", it's at least plausible to me that this is functioning as intended in iTerm.