codex - 💡(How to fix) Fix Codex CLI terminal title animation issues under `screen` [3 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17198Fetched 2026-04-10 03:44:10
View on GitHub
Comments
3
Participants
3
Timeline
8
Reactions
0
Author
Timeline (top)
commented ×3labeled ×3closed ×1unlabeled ×1
RAW_BUFFERClick to expand / collapse

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

extent analysis

TL;DR

The issue can be mitigated by disabling the loading spinner animation in Codex CLI when running under screen.

Guidance

  • Investigate Codex CLI configuration options to disable the loading spinner animation.
  • Test running Codex CLI with the --no-spinner flag or equivalent option, if available.
  • Verify that disabling the spinner animation resolves the terminal bell sounds issue under screen.
  • Consider reporting the issue to the Codex CLI developers to request official support for screen and tmux environments.

Example

No code snippet is provided as the issue does not imply a specific code-based solution.

Notes

The solution may not be applicable if the loading spinner animation is a required feature. Additionally, the issue may be specific to the combination of Codex CLI, screen, and iTerm2, and may not occur in other environments.

Recommendation

Apply workaround: Disable the loading spinner animation when running Codex CLI under screen, as it appears to be the cause of the terminal bell sounds issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING