Skip to content

Scrollback in iTerm2 doesn't work unless "Save lines to scrollback when an app status bar is present" is enabled #2485

Closed

Description

@joliss

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.

Image

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.

Activity

  1. 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
  2. nrbrd commented on Aug 20, 2025

    @nrbrd

    behavior causes it to swallow any lines of the conversation that scroll past the top of the terminal.

    I have the same issue with zellij and different terminals, and I couldn't find a way to avoid this problem

  3. aibrahim-oai commented on Sep 8, 2025

    @aibrahim-oai
    Contributor

    Is this still the case?

  4. added
    bug
    on Sep 8, 2025
  5. nornagon-openai commented on Sep 8, 2025

    @nornagon-openai
    Contributor

    @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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions