Double rendering after Edit/Resume: history block appears twice

Resolved 💬 1 comment Opened Aug 29, 2025 by mkusaka Closed Nov 26, 2025

What version of Codex is running?

codex-cli 0.27.0

Which model were you using?

gpt-5

What platform is your computer?

Darwin 24.6.0 arm64 arm

What steps can reproduce the bug?

  1. Start codex, type "hi" and press Enter; wait for the agent’s reply
  2. Press Esc twice to open the transcript (history) selection overlay
  3. Press Enter to confirm; immediately after that, the history renders twice (reproducible every time)

What is the expected behavior?

The screen redraws once with no duplicated content

What do you see instead?

The history area is rendered twice; the initial ">_ You are using OpenAI Codex in …" history block appears two times right after confirming from the overlay. This reproduces every time.

Additional information

https://github.com/user-attachments/assets/3da77041-1f97-4bce-a83b-27c522efec79

  • Full transcript:
 >_ You are using OpenAI Codex in ~/src/github.com/openai/codex

 To get started, describe a task or try one of these commands:

 /init - create an AGENTS.md file with instructions for Codex
 /status - show current session configuration and token usage
 /approvals - choose what Codex can do without approval
 /model - choose what model and reasoning effort to use

user
hi

codex
Hi! How can I help you with the codex-rs repo today?

>_ You are using OpenAI Codex in ~/src/github.com/openai/codex

 To get started, describe a task or try one of these commands:

 /init - create an AGENTS.md file with instructions for Codex
 /status - show current session configuration and token usage
 /approvals - choose what Codex can do without approval
 /model - choose what model and reasoning effort to use


▌himplement {feature}
 ⏎ send   Shift+⏎ newline   Ctrl+T transcript   Ctrl+C quit

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗