Codex CLI terminal title animation issues under `screen`
What version of Codex CLI is running?
codex-cli 0.118.0
What subscription do you have?
Plus
Which model were you using?
gpt-5.4
What platform is your computer?
Linux 6.8.0-107-generic x86_64 x86_64
What terminal emulator and version are you using (if applicable)?
iTerm2 accessing screen via SSH + screen and tmux
What issue are you seeing?
I am running several codex instances on a remote Linux VM, which I access via ssh, on iTerm2 from a MacOS machine.
I also use screen and sometimes tmux to keep these instances running while I'm offline.
Recently codex introduced a working / loading spinner animation on the terminal window while it generates an output.
This animation does not appear on tmux, but does appear on a plain ssh terminal, and when using screen.
On a plain ssh terminal (with iTerm2) the animation works fine:
However, under screen, it glitches, causing terminal bell sounds continuously:
What steps can reproduce the bug?
SSH to a Linux host, start a screen session, start codex, and issue a prompt.
What is the expected behavior?
I expect not to see any progress on the terminal window, similarly to tmux
Additional information
_No response_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
None of the existing issues narrow this down to using
screenbut the workaround of customising/titleand removing the spinner, as suggested in https://github.com/openai/codex/issues/16332#issuecomment-4163902952, works fine for now.I suppose the 'fix' would be to automatically remove the spinner for
screenas seems to be the case fortmux.I'm happy to submit a patch for this, but as per the contribution guidelines, I will await instructions from a maintainer.
This animation may not work with some terminals. You can configure the
/titleto remove the spinner if your terminal doesn't support this.