anomalyco / anomalyco/opencode
TUI mouse copy drops blank lines between markdown paragraphs
Open
@kommander is already working on this.
Since Aug 22, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Mouse-selecting assistant markdown collapses blank lines between paragraphs (\n\n → \n).
<leader>y (messages_copy) copies part.text correctly. Only the mouse path is wrong.
Not #16521 / opentui#1103: that was empty logical lines inside one TextBuffer.
Plugins
none that touch the TUI
OpenCode version
1.18.15
Steps to reproduce
- Ask for three short paragraphs separated by blank lines
- Mouse-drag across them
- Paste -- blank lines are gone
Operating System
macOS 26.3
Terminal
WezTerm via tmux
Related: #16521 #25623 #10098, anomalyco/opentui#1103
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.