CLI: Often cannot press up to recall session prompt history
Resolved 💬 6 comments Opened Dec 6, 2025 by aehlke Closed Mar 29, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
0.65.0
What subscription do you have?
Pro
Which model were you using?
_No response_
What platform is your computer?
_No response_
What issue are you seeing?
Often when I press up, I can get the last message I sent, but can't continue pressing up to get older ones. I haven't figured out what triggers this to happen yet.
What steps can reproduce the bug?
Press up multiple times. It only happens conditionally - I haven't figured out repro steps yet.
What is the expected behavior?
_No response_
Additional information
_No response_
6 Comments
Thanks for the bug report.
Could you share which platform are you on and which terminal emulator are you using?
macOS Tahoe
iTerm2
I often encounter messages starting with '/', for example, when manually sending a
/ test(note the space between the slash and "test"), I cannot continue to press up to recall session prompt history.yes I found this reproduces it: if I have one where I pasted for instance a path that begins with / then I cannot press up to go past that message in the history
I see this issue caused by tui enter the
ActivePopup::Commandafter recall history that is start with "/".handle_key_event_without_popupis where history navigation (Up / Down) is handled viahistory.should_handle_navigation(...)andhistory.navigate_up/down(...)ActivePopup::Command,handle_key_event_with_slash_popupis used instead, so [Up]is consumed by the popup and never reaches the history logic.This issue hasn't received any upvotes or additional posts in four months. I think it is fixed, so I'm going to close it. If you're seeing something similar, please create a new bug report with details.