Codex loses chat history when switching between tmux and non-tmux session
What version of Codex CLI is running?
codex-cli 0.98.0
What subscription do you have?
Pro
Which model were you using?
gpt-5.3-codex xhigh
What platform is your computer?
Linux 5.15.0-168-generic x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
_No response_
What issue are you seeing?
I have run a session under tmux (use codex inside a tmux session) an hour ago. Then I quit this session in
tmux and resume this session outside the tmux to continue the work.
After working for a while, I quit the session and resume again in the same terminal (not inside a tmux session), all the chat history after I quit from the tmux codex session disappear. In other word, after I resume, I return back to the point when I left the tmux codex session.
I am wondering whether switching from codex session in tmux and not will cause such history loss. I also encounter this when I previously use Claude Code.
What steps can reproduce the bug?
Thread 019bd967-990a-70a0-baf8-decedb625940
What is the expected behavior?
_No response_
Additional information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗