Skip to content

[FEATURE] Add setting to control pasted-text placeholder collapse in the TUI composer #17332

Closed

Description

@PaulRBerg

What feature would you like to see?

Add a user-facing setting in Codex CLI / TUI to control whether pasted text is shown inline as raw text or collapsed into a placeholder such as Pasted Content N Chars.

Right now, large pasted content is visually collapsed in the composer. That can be useful for saving space, but it removes an important workflow: reviewing the exact pasted text before submitting. For some tasks, that tradeoff is wrong. I want to be able to choose the behavior.

A few possible shapes:

  • simple boolean setting, for example collapse_pasted_text = true|false
  • threshold setting, for example collapse_pasted_text_threshold = 1000
  • composer-level toggle or keybinding to expand/collapse pasted content before send

The key ask is configurability: let users choose placeholder mode vs raw inline text.

Additional information

This seems distinct from the existing open paste-placeholder bugs in Codex, such as:

  • #11048 (Pasted text placeholder has broken behavior for longer text)
  • #10387 (Large paste placeholder sent literally after $ skill selection (Tab))
  • #17203 (TUI: add undo-last-paste for composer drafts)

Those are related, but this request is about product behavior and user preference, even when the placeholder implementation is working correctly.

Claude Code has an analogous feature request that’s useful as prior art and as evidence that users want to customize this UX:

OpenAI’s public Codex docs currently mention disable_paste_burst, but I couldn’t find a documented setting for controlling whether pasted text is rendered as a collapsed placeholder vs raw text in the composer.

Activity

  1. added
    enhancement
    CLI
    TUI
    on Apr 10, 2026
  2. removed
    CLI
    on Apr 10, 2026
  3. etraut-openai commented on May 16, 2026

    @etraut-openai
    Contributor

    This feature hasn't received enough upvotes, so closing.

  4. PaulRBerg commented on May 16, 2026

    @PaulRBerg
    Author

    That's OK @etraut-openai but if I may suggest to close issues as 'unplanned' instead so it's clear for future humans and agents that this functionality isn't available.

  5. marcomd commented on May 31, 2026

    @marcomd

    I suggest a double paste to expand the pasted text (like on Claude Code), and I recommend giving priority to this feature, because not being able to do so is very limiting.

  6. PaulRBerg commented on Jun 1, 2026

    @PaulRBerg
    Author

    yes a double paste would be a nice quick fix

  7. gpxl-dev commented on Sep 14, 2026

    @gpxl-dev

    @etraut-openai adding a setting for this would be a minimal change and would be very quick to fix.
    I would contribute a PR for it myself but it seems like external contributions are not allowed?

    I would argue this is a bigger and more obvious feature than the already existing disable_paste_burst config option which is just a subset of this, but demonstrates the developer need.

  8. nullbio commented on Sep 15, 2026

    @nullbio

    Would like this. I often copy-paste things from the chat and add my responses underneath each item. But for long chat replies, I can't.

  9. PaulRBerg commented on Sep 15, 2026

    @PaulRBerg
    Author

    @gpxl-dev seconded

  10. Kaahin-19 commented on Sep 25, 2026

    @Kaahin-19

    User tip / UX suggestion: please add an easy way to reveal the full text behind a large-paste placeholder in the Codex CLI composer. A particularly convenient interaction would be: if a large paste has been collapsed to [Pasted Content N chars], pasting the same clipboard content again could expand/restore that placeholder back to the full editable text instead of inserting a duplicate. Claude Code has had a similar paste-twice workflow, and it is useful when users want to review or edit a long prompt before sending. A dedicated expand/collapse keybinding or collapse_pasted_text = false setting would also solve the same need.

  11. PaulRBerg commented on Sep 26, 2026

    @PaulRBerg
    Author

    can we please reopen this issue, @etraut-openai?

  12. shamar-morrison commented on Oct 14, 2026

    @shamar-morrison

    This issue needs to be reopened. @etraut-openai

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