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]: Desktop prompt option to collapse/obfuscate large pasted text as [Pasted ~N lines] #15405
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
In OpenCode Desktop, when I paste large text blocks, I want an option to hide/collapse the pasted content in the input area (similar to TUI behavior like [Pasted ~N lines]), while still sending full content to the model.
Why this is useful
Keeps the input readable when pasting multiple large chunks
Reduces visual noise / distraction
Still preserves full context for the LLM
Better workflow for users who intentionally paste many chunks before sending
Proposed behavior
Add a desktop/web setting to collapse large pasted text in the prompt editor
Show a compact token like [Pasted ~N lines]
Preserve exact pasted content in submitted prompt
Optional: allow quick expand/collapse per pasted block
Since you've already referenced #8501, please consider whether this issue adds new information not covered there. If so, it may be worth adding a comment to that issue instead, or clarifying the distinction here.
This issue proposes a desktop/web prompt behavior to intentionally keep large pasted chunks collapsed by default (with optional per-block expand), so users can paste multiple large chunks without visual noise while still sending full content to the model.
Activity
github-actions commentedon Feb 27, 2026
This issue might be a duplicate of an existing issue. Please check:
[Pasted ~1 lines]) #8501: Very similar request — "Allow to expand the pasted text (e.g.[Pasted ~1 lines])" describes the same collapse/expand behavior for pasted content in the prompt input.Since you've already referenced #8501, please consider whether this issue adds new information not covered there. If so, it may be worth adding a comment to that issue instead, or clarifying the distinction here.
chindris-mihai-alexandru commentedon Feb 27, 2026
This request is intentionally a bit different:
[Pasted ~1 lines]) #8501 focuses on expanding/reviewing pasted summary blocks in TUI/editor workflows.chindris-mihai-alexandru commentedon Feb 27, 2026
Implemented a desktop prototype + upstream PR for review: #15411
Scope in PR:
[Pasted ~N lines]experimental.disable_paste_summaryopt-outIf maintainers prefer, this can be tuned further (thresholds, defaults, or per-block expand interaction).
github-actions commentedon Apr 29, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.