Backtrack (Double Esc) jumps too far back , losing lots of context.

Resolved 💬 4 comments Opened Oct 18, 2025 by pchalasani Closed Jan 10, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.46.0

What subscription do you have?

Pro

Which model were you using?

gpt-5-codex

What platform is your computer?

maxos

What issue are you seeing?

Multiple times I have noticed the following extremely serious bug. I hit escape, escape and rewind to a previous user message and then I hit enter and I find that it actually rewinds much further back and I lose valuable context. Other than that I don't have clear steps to reproduce this

What steps can reproduce the bug?

see above

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] contributor · 10 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #5030
  • #4977
  • #4722

Powered by Codex Action

accordaccount · 10 months ago

I have just run into this with 0.47.

Workaround: 1. exit 2. run "codex resume" 3. select the previous conversation to recover the context data-loss.

pchalasani · 10 months ago
I have just run into this with 0.47. Workaround: 1. exit 2. run "codex resume" 3. select the previous conversation to recover the context data-loss.

Nice. I thought that if I exit, it would save the truncated conversation.

etraut-openai contributor · 7 months ago

Closing old issue.