You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE] Add setting to control pasted-text placeholder collapse in the TUI composer #17332
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.
Reacted by AgifyAI, Roberto Ffrench-Davis, Jin-Bo Huang, Teddy van Jerry, gpxl-dev, Devadathan M B, SNIPER, Upa, George Holt, Matt-Jensen and 4 more
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.
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.
Reacted by Paul Berg, Peter Hartree, corrius, Yooshin Kim, AgifyAI, gpxl-dev, Mikel Torres Ugarte and Mike Lasby
@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.
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.
Activity
etraut-openai commentedon May 16, 2026
This feature hasn't received enough upvotes, so closing.
PaulRBerg commentedon May 16, 2026
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.
marcomd commentedon May 31, 2026
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.
PaulRBerg commentedon Jun 1, 2026
yes a double paste would be a nice quick fix
ui: the sent-message echo expands pasted blocks (bounded)
gpxl-dev commentedon Sep 14, 2026
@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_burstconfig option which is just a subset of this, but demonstrates the developer need.nullbio commentedon Sep 15, 2026
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.
PaulRBerg commentedon Sep 15, 2026
@gpxl-dev seconded
Kaahin-19 commentedon Sep 25, 2026
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 orcollapse_pasted_text = falsesetting would also solve the same need.PaulRBerg commentedon Sep 26, 2026
can we please reopen this issue, @etraut-openai?
shamar-morrison commentedon Oct 14, 2026
This issue needs to be reopened. @etraut-openai