Skip to content

[FEATURE]: Maintain newline when copying output #10098

Closed

Description

@adrianveen

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

When copying a block of text, new lines are not copied over. For example:

Some text here

and some text here

After copied, will paste to

Some text here
and some text here

Expected outcome:
new line is respected, eg.:

Some text here

and some text here

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Jan 22, 2026
  2. dkraemerwork commented on Jan 22, 2026

    @dkraemerwork

    The feature you are requesting is default behaviour. It has to be a local problem on your machine or terminal interface.

  3. adrianveen commented on Jan 23, 2026

    @adrianveen
    Author

    The feature you are requesting is default behaviour. It has to be a local problem on your machine or terminal interface.

    Any suggestions on figuring out why the newline might be getting dropped for me?

    I get the same results on konsole and kitty. I don't see any options in my clipboard that seem related. The closest one was trimming whitespace at the start or end of a selection (so no the situation I outlined) but this does not change the behaviour.

  4. i8ramin commented on Feb 1, 2026

    @i8ramin

    Also curious about this. Output copied from Opencode is missing newlines, but copied from other CLI tools like Claude Code are just fine. Using iTerm2

  5. itkach commented on Feb 3, 2026

    @itkach

    Blank lines in text copied from opencode are missing for me on MacOS, both iTerm2 and Ghostty (in built-in MacOS Terminal copy doesn't work at all, "Copied to clipboard" notification pops up but nothing is actually copied)

  6. github-actions commented on Apr 5, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  7. benkoppe commented on Jun 2, 2026

    @benkoppe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

discussionUsed for feature requests, proposals, ideas, etc. Open discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions