codex - 💡(How to fix) Fix [FEATURE] Add setting to control pasted-text placeholder collapse in the TUI composer [1 participants]

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#17332Fetched 2026-04-11 06:17:32
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×3unlabeled ×1
RAW_BUFFERClick to expand / collapse

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.

extent analysis

TL;DR

Implement a user-configurable setting to control the display of pasted text in the Codex CLI/TUI, allowing users to choose between inline raw text and a collapsed placeholder.

Guidance

  • Introduce a new setting, such as collapse_pasted_text or collapse_pasted_text_threshold, to control the behavior of pasted text display in the composer.
  • Consider adding a threshold setting to allow users to customize the character limit for collapsing pasted text.
  • Review existing issues, such as #11048, #10387, and #17203, to ensure the new setting does not introduce or exacerbate existing bugs.
  • Look into the Claude Code feature request (https://github.com/anthropics/claude-code/issues/23134) as prior art and user feedback.

Example

No code example is provided due to the lack of specific technical details in the issue.

Notes

The implementation of this feature should take into account the existing disable_paste_burst setting and ensure that the new setting does not conflict with it.

Recommendation

Apply a workaround by introducing a configurable setting, such as a boolean or threshold value, to control the display of pasted text in the composer. This allows users to choose their preferred behavior until a more comprehensive solution is implemented.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING