Repository navigation
Closed
Description
Summary
Scrolling up or down in Codex can cause chat messages to be partially overwritten or clipped, resulting in missing content. This makes it impossible to review previous messages accurately, especially during longer conversations.
Steps to Reproduce
- Ask codex questions
- Go back and forth, optionally adding messages to the queue.
- Attempt to scroll up and down in the chat history after the message has loaded.
- Observe whether message content changes, disappears, or becomes truncated.
(Note: The issue is intermittent and may not occur on every scroll.)
Expected Behavior
- Scrolling should be non-destructive.
- All previously generated messages should remain intact and fully visible, regardless of scroll position.
- The chat history should render consistently without overwriting or clipping text.
Actual Behavior
- When scrolling up or down, parts of the message disappear (squash to non-existence?).
- Example: In the attached screenshot, everything after “Worked for 39s” is missing — multiple bullet points are clipped and unrecoverable.
- Asking Codex to regenerate or recall the message does not restore the exact original content, suggesting the original data is lost or unrendered.
Impact
- Severe: prevents users from reviewing or referencing past responses.
- Makes it impossible to debug or discuss complex issues in long Codex sessions.
- Reduces trust in conversation persistence and data integrity.
Attachments
-
Screenshot 1: Clipped message after scrolling (shows truncation after “Worked for 39s”).

-
Screenshot 2: Codex attempting to reconstruct the lost portion of the message.

Environment
- codex in Ghostty on macOS 15.7.2
Thread ID 019a63de-c2ab-7023-b482-f2d17522ccf0 in an existing
Severity
🔥 High — Loss of visible data and inability to retrieve prior messages.
Reacted by Xiao Li, Rees Morris, pwliwanow, JoelEmanuelNilsson, Nicolas Nahas, Adrián Molina, mattstanbrell, Tsung-Han Yu, distbit, drhypnoss and 14 more
Activity
PaulSolt commentedon Nov 9, 2025
Related to #2456
github-actions commentedon Nov 9, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
PaulSolt commentedon Nov 9, 2025
Sometimes even new messages from the agent will cause content in the chat history to just clip and disappear.
ts-klassen commentedon Nov 13, 2025
I got it to reproduce by making AI print from 1 to 30.
#6599
JoelEmanuelNilsson commentedon Nov 19, 2025
are oai looking into this? thinking if wort switching back to iterm or not from ghostty. dont have the issue in iterm!
ts-klassen commentedon Nov 20, 2025
Using transcript mode might be an option. Use Ctrl+T
[-]Critical Data Loss: Codex Truncates Chat Messages When Scrolling[/-][+]Codex Truncates Chat Messages When Scrolling[/+]muyuanjin commentedon Dec 1, 2025
A simple reproduction method:
Scrolling the terminal will reveal that the /status command and its output status card disappear.
distbit0 commentedon Feb 1, 2026
same issue
8 remaining items
tui: harden inline scrollback bootstrap and scroll-region bounds (ope…
pthrasher commentedon Feb 9, 2026
FYI - I just submitted a PR that fixes this: #11221
tui: harden inline scrollback bootstrap and scroll-region bounds (ope…
mwcrutcher commentedon Feb 12, 2026
Just to chime in, this is driving me insane. It completely breaks workflows where you need to copy paste from one terminal to another, and is a gigantic usability regression. You can still see the text in transcript mode, but transcript copy paste won't let you highlight more than a screen's worth of text, so if you need to copy a response from the terminal, at trivial sizes it's going to be clipped (very easy to miss that there was a much longer response than you can see until you go to transcript) and then you have to go to transcript and very carefully "splice together the copy". It's really, really, really annoying.
update I haven't seen this since upgrading to v0.101.0
atul-narayanan-hf commentedon Feb 12, 2026
This! I face exactly the same issue as this.
dhaern commentedon Feb 12, 2026
Yeah after im the disrespectful after for saying the truth to @etraut-openai
damagu commentedon Mar 5, 2026
I have been encountering this too. Here's an example:
And a little later, after I asked for the previous steps to be relisted, it happened again:
dhaern commentedon Mar 5, 2026
I had that shit from months ago... even bad clis like Gemini dont have this bug, absolute pathetic from OpenAI
etraut-openai commentedon Apr 5, 2026
Are any of you still seeing this with the latest version (0.118.0)? We've rewritten big portions of the TUI since this bug was filed — and incorporated many bug fixes. It's quite possible that the issue no longer exists.
gndk commentedon Apr 5, 2026
I stopped seeing this a while ago, but can't say when exactly it changed. Few weeks at least. Currently on 0.117.0 with Ghostty on Mac for context.
kcosr commentedon Apr 7, 2026
I'm still seeing this issue via xterm.js. it seems to occur most frequently on screen resize.
