[TUI 0.149.1][JetBrains-JediTerm] Unit suffixes intermittently disappear during redraws
Nobody has claimed this yet.
- 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-JediTermTERM=xterm-256colorLANG=C.UTF-8LC_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 ofWorking (55s)43.9 outinstead of43.9K outPursuing goal (23 )instead ofPursuing 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
- Run the Codex TUI in the PhpStorm integrated terminal.
- Start a long-running task or goal so elapsed-time and token counters update.
- Observe the footer and status line across redraws.
- 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-screenhas not been tested. - Reproduction in another terminal emulator has not been tested.
- A screenshot of an affected frame is available.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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