Skip to content
Discussion options

You must be logged in to vote

Update: tracked this down. It's the mixed clipboard format (default since 1.3.0) — Ghostty puts both text/plain and text/html on the clipboard, but the HTML has no <br>, so newlines collapse. Apps that read plain text (VS Code, pbcopy, Terminal) are fine; apps that prefer the HTML flavor (the Claude.ai chat input, Claude Code per #2709) merge the lines. Same root cause as #2709.

Workaround:

keybind = cmd+c=copy_to_clipboard:plain

This forces plain-text-only copy and fixes pasting into Claude.ai.

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@RicardoEreto
Comment options

@tylers-username
Comment options

Comment options

You must be logged in to vote
2 replies
@No-22-Github
Comment options

@jdorn-eu
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by No-22-Github

This comment was marked as disruptive content.

Comment options

You must be logged in to vote
1 reply
@stephang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-confirmation A reproduction has been reported, but the bug hasn't been confirmed or reproduced by a maintainer.
6 participants