Repository navigation
Description
What feature would you like to see?
Current Behavior
The visual distinction between user input and AI output is too subtle.
- User: Indicated by a small, dim grey
>on the left. - AI: Indicated by a bullet point
•. - Issue: Both use the same text color and font weight.
The Problem
When scrolling through the terminal history, it is difficult to quickly distinguish user prompts from AI responses. The current markers are low-contrast and hard to spot during a quick scan, requiring the user to focus intensely on the left margin to find context switches.
Visual Representation (Current State)
Everything looks uniform, like this:
> user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user
• ai response start, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response,...
> user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user, user
• ai response start, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response, ai response,...
(In the actual CLI, the icons > and • are very small and the text color is identical, making the separation invisible when scrolling)
Suggested Improvements
Please implement a better visual hierarchy. Possible solutions include:
- Color Differentiation: Use a distinct color for the User Input (or the AI Output).
- Separators: Add a horizontal line or divider between interactions.
- Backgrounds: Use a slight background tint for one of the actors.
Goal
To allow users to identify "who is speaking" instantly while scrolling, without relying on small pixel markers.
Additional information
No response
Activity
VadimPushtaev commentedon Jan 9, 2026
The background is normally there, but it's missing for me in tmux e.g.
kornreaksmei-dev commentedon Jan 14, 2026
MNeMoNiCuZ commentedon Feb 5, 2026
This should definitely be improved.
#10812
anand-shankar-1 commentedon May 19, 2026
This is a real problem - it's quite difficult to use compared to alternative agent harnesses. Please fix this 🙏
alexbi29 commentedon Jun 22, 2026
guys, please improve this: add an option to change background color on user inputs. Simple and easy.
aleksandar-radev commentedon Aug 23, 2026
andrewzbytek commentedon Sep 16, 2026
+1
CCHerbst commentedon Nov 3, 2026
Please consider a built-in, optional horizontal divider immediately above the Codex CLI input line, similar to the clear input boundary in Claude Code.
This has an accessibility use case beyond appearance: for some users, a persistent visual boundary can make it easier to distinguish "my work" (the prompt being composed) from the work being performed by Codex (responses, tool activity, and progress). Small prompt markers and subtle background differences can be difficult to track during an active session.
The specific request is a horizontal line spanning the input area's width, staying directly above the prompt as the terminal resizes or the input becomes multiline:
Please make this available in the standard CLI as a setting, so users can enable it without building or maintaining a custom version.
fricpa commentedon Nov 21, 2026
100% the UX in Claude CLI, and even OpenCode and pi and most agent tui I tested... is currently superior in this department (distinguishing user and agent turns)
etraut-openai commentedon Nov 27, 2026
Submitted prompts now have a tinted background in the transcript, so you can distinguish them from assistant replies while scrolling. The tint adapts to the terminal background.
Closing as implemented. Configurable prompt colors and a high-contrast option are tracked in #62007.
andrewzbytek commentedon Nov 29, 2026
@etraut-openai Which version was this implemented in? Windows 0.172.0 still shows no tinted background.
Masterxilo commentedon Nov 29, 2026
@andrewzbytek you need to set env var COLORTERM=truecolor environment variable... also took me a while to figure out... without that it looked correct on Linux/WSL but wrong on Windows with no background color behind the user prompts
andrewzbytek commentedon Nov 29, 2026
@etraut-openai On Windows 11, Codex CLI 0.172.0 showed no background tint behind my submitted prompts. I saw this in both PowerShell and Command Prompt (
cmd.exe). I setCOLORTERM=truecolorfor my Windows account and started a new Codex session. The tint appeared.I only found the setting through Masterxilo's comment. For anyone else who hits this, run
setx COLORTERM truecolorin either shell, then reopen the terminal and start Codex.Could you revisit #8852 so Codex shows the tint by default on Windows terminals that support true color?