Skip to content

UI Improvement: Better visual distinction between User Input and AI Output #8782

Done

Description

@ValadaresX

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:

  1. Color Differentiation: Use a distinct color for the User Input (or the AI Output).
  2. Separators: Add a horizontal line or divider between interactions.
  3. 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

  1. added
    enhancement
    on Jan 6, 2026
  2. added
    CLI
    TUI
    on Jan 6, 2026
  3. removed
    CLI
    on Jan 6, 2026
  4. VadimPushtaev commented on Jan 9, 2026

    @VadimPushtaev

    The background is normally there, but it's missing for me in tmux e.g.

  5. kornreaksmei-dev commented on Jan 14, 2026

    @kornreaksmei-dev
  6. unpinned this issue on Jan 14, 2026
  7. MNeMoNiCuZ commented on Feb 5, 2026

    @MNeMoNiCuZ

    This should definitely be improved.

    #10812

  8. anand-shankar-1 commented on May 19, 2026

    @anand-shankar-1

    This is a real problem - it's quite difficult to use compared to alternative agent harnesses. Please fix this 🙏

  9. alexbi29 commented on Jun 22, 2026

    @alexbi29

    guys, please improve this: add an option to change background color on user inputs. Simple and easy.

  10. aleksandar-radev commented on Aug 23, 2026

    @aleksandar-radev
  11. andrewzbytek commented on Sep 16, 2026

    @andrewzbytek

    +1

  12. CCHerbst commented on Nov 3, 2026

    @CCHerbst

    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:

    Codex responses and tool activity...
    ────────────────────────────────────────────
    › My next prompt...
    

    Please make this available in the standard CLI as a setting, so users can enable it without building or maintaining a custom version.

  13. fricpa commented on Nov 21, 2026

    @fricpa

    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)

  14. etraut-openai commented on Nov 27, 2026

    @etraut-openai
    Contributor

    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.

  15. andrewzbytek commented on Nov 29, 2026

    @andrewzbytek

    @etraut-openai Which version was this implemented in? Windows 0.172.0 still shows no tinted background.

  16. Masterxilo commented on Nov 29, 2026

    @Masterxilo

    @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

  17. andrewzbytek commented on Nov 29, 2026

    @andrewzbytek

    @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 set COLORTERM=truecolor for 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 truecolor in 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    TUIenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions