Fix copying over line breaks

Resolved 💬 2 comments Opened Jun 9, 2026 by nullbio Closed Jun 9, 2026

What variant of Codex are you using?

CLI

What feature would you like to see?

@fcoury-oai I saw that you removed the double-blanks, that's great! We're one step closer to workable copying from the CLI.

However we still need to fix the newline insertion issue.

Can we please get a way to copy on highlight that preserves the original newline intent, so we stop getting \n linebreaks everywhere the TUI wraps text in the copied buffer? For example, an app-level copy/export path that copies from Codex CLI’s logical transcript buffer, not from the rendered terminal rows.

I believe OpenCode does this? It's something myself and others have been frustrated by for years now, and neither Anthropic or OpenAI has done anything about it. Tagging you because based on your recent double blank fix, I'm hoping you may be the person there that actually cares about this problem. Thank you.

Additional information

See above.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗