openai / openai/codex

[TUI 0.149.1][JetBrains-JediTerm] Unit suffixes intermittently disappear during redraws

Open
#40,863 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug CLI TUI
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

Codex version

codex-cli 0.149.1

Environment
  • macOS
  • PhpStorm integrated terminal
  • TERMINAL_EMULATOR=JetBrains-JediTerm
  • TERM=xterm-256color
  • LANG=C.UTF-8
  • LC_CTYPE=UTF-8
What happened?

Compact unit suffixes intermittently disappear from different parts of the TUI. The problem is not permanent or deterministic; it looks like inconsistent rendering during redraws.

One affected frame showed all of these at the same time:

  • Working (55 ) instead of Working (55s)
  • 43.9 out instead of 43.9K out
  • Pursuing goal (23 ) instead of Pursuing goal (23m)

The character cell appears to remain reserved, but the suffix itself is invisible. Other compact units on the same status line render correctly, for example 402K used and 11.9M in.

This makes a missing-font or unsupported-glyph problem unlikely: the missing characters are ordinary ASCII (s, m, and K), and the same kinds of characters render elsewhere in the same frame.

Steps to reproduce
  1. Run the Codex TUI in the PhpStorm integrated terminal.
  2. Start a long-running task or goal so elapsed-time and token counters update.
  3. Observe the footer and status line across redraws.
  4. Occasionally, one or more unit suffixes are not rendered.

I cannot reproduce it deterministically. It appears intermittently while the TUI is updating.

Expected behavior

All unit suffixes should remain visible and consistent across TUI redraws.

Additional information
  • Reproduction with --no-alt-screen has not been tested.
  • Reproduction in another terminal emulator has not been tested.
  • A screenshot of an affected frame is available.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the intermittent redraw in the Codex TUI using the PhpStorm integrated terminal with JetBrains-JediTerm, then inspect the TUI rendering and status-update path. Compare affected frames with correctly rendered suffixes and test whether the behavior changes with --no-alt-screen or another terminal emulator. Done means all unit suffixes remain visible across redraws.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.