TUI flashes continuously during bursts of Code Mode tool activity
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Reproduce the issue in Codex CLI inside tmux using concurrent nested shell or read-only tool calls, and compare the live TUI with the Ctrl+T transcript view. Trace the TUI rendering path responsible for Ran and Explored entries and changing lower-panel height; done means concurrent activity stays visually stable without terminal flashing while full details remain available through Ctrl+T.
Written by the indexing model from the issue text.
Description
What version of Codex CLI is running?
rust-v0.146.0-alpha.10
What subscription do you have?
- ChatGPT Pro 20x.
Which model were you using?
gpt-5.6-sol
What terminal emulator and version are you using?
- Alacritty with Codex running inside tmux.
What issue are you seeing?
- I locally adjusted the
code-mode-execinstructions to guide the model to write JavaScript that invokes independent nested tools concurrently. - The generated Code Mode call and its nested tool calls successfully complete the requested task.
- During a burst of concurrent Code Mode tool activity, the TUI rapidly inserts many
RanandExploredentries while the lower portion of the interface repeatedly changes between one and multiple lines. - The repeated layout changes cause the entire terminal to flash at high frequency and can flood the tmux scrollback buffer.
- The problem is therefore the unstable and continuously flashing TUI presentation during otherwise successful concurrent tool execution.
What steps can reproduce the bug?
- Start Codex CLI in a tmux session.
- Configure the local
code-mode-execinstructions to guide the model to generate JavaScript that invokes independent nested tools concurrently. - Ask Codex to perform a task that results in many concurrent shell or read-only nested tool calls.
- Keep the TUI visible while the nested tool calls start and complete in quick succession.
- Confirm that the task completes, while the transcript receives many
RanorExploredentries and the lower interface repeatedly changes height, causing continuous terminal flashing.
What is the expected behavior?
- Supported concurrent Code Mode tool activity should render without rapid whole-terminal flashing or repeated one-line-to-multiline layout oscillation.
- Concurrent nested tool activity should be collapsed in the TUI like other collapsed tool output, with the existing
Ctrl+Ttranscript view available to inspect the complete details.
Additional information
- Codex CLI assisted with organizing this report.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.5k
- Avg merge
- 1m
- Merged PRs (30d)
- 1k
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.
More from openai/codex
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
bug CLI windows-os
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
macOS sandbox blocks hw.optional.arm64 sysctl, causing Flutter to misdetect Apple Silicon as x64 Openbug CLI sandbox
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug CLI TUI
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
CLI config enhancement skills
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
A-linter
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oxc-project/oxc#26863 ·