Summary
When running Codex CLI inside tmux for a long session, the UI refresh becomes noticeably laggy/stuttery, while the agent execution itself continues to run normally.
Environment
- Runtime context: Termux + tmux
- Client: Codex CLI (TUI)
- Time pattern: usually after a long-running session (multiple turns / long streaming usage)
Reproduction (observed)
- Launch Codex CLI inside a
tmux session.
- Keep a long interactive session running (many turns / long streaming output).
- Continue interacting and scrolling.
- Observe increasing UI repaint lag (delayed refresh / stutter), while agent task execution remains normal.
Actual Behavior
- TUI refresh becomes slow and less responsive over time in
tmux.
- Agent still processes requests and tools normally (logic path is alive).
Expected Behavior
- TUI refresh performance should remain stable over long sessions in
tmux.
Impact
- Degraded usability in long-running workflows on Termux/tmux.
- Operator may think the CLI is stuck, even though backend execution is still healthy.
Notes
- This appears to be primarily a rendering/perf issue rather than an agent execution issue.
- Please triage for potential repaint/back-buffer growth or terminal update path inefficiency in long sessions.
Summary
When running Codex CLI inside
tmuxfor a long session, the UI refresh becomes noticeably laggy/stuttery, while the agent execution itself continues to run normally.Environment
Reproduction (observed)
tmuxsession.Actual Behavior
tmux.Expected Behavior
tmux.Impact
Notes