Skip to content

Clean Copy for Multiline and Soft-Wrapped Output #12200

@Ragnoroct

Description

@Ragnoroct

What variant of Codex are you using?

CLI

What feature would you like to see?

Feature request: better multiline and wordwrap copy in the Codex CLI TUI.

Problems: wrapped lines copy with a 2-space indent that breaks things like HEREDOCs, and long single-line commands get split by TUI wordwrap so pasted commands fail.

Expected behavior: wrapping should be visual only, and the constant indent should not appear in copied text.

Possible solutions: (A) a copy mode that removes indentation and uses native terminal wrap, (B) a clean-copy keybind that strips indent and rejoins soft wraps, (C) add stable markers so external clipboard hooks can reconstruct logical lines.

Additional information

No response

Metadata

Metadata

Assignees

Labels

TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions