Codex CLI terminal title animation issues under `screen`

Resolved 💬 3 comments Opened Apr 9, 2026 by ktorn Closed Apr 9, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

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:

!Image

However, under screen, it glitches, causing terminal bell sounds continuously:

!Image

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_

View original on GitHub ↗

3 Comments

github-actions[bot] contributor · 4 months ago

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

  • #16332
  • #17102
  • #16008

Powered by Codex Action

ktorn · 4 months ago

None of the existing issues narrow this down to using screen but the workaround of customising /title and 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 screen as seems to be the case for tmux.

I'm happy to submit a patch for this, but as per the contribution guidelines, I will await instructions from a maintainer.

etraut-openai contributor · 4 months ago

This animation may not work with some terminals. You can configure the /title to remove the spinner if your terminal doesn't support this.