Skip to content

Newlines added when copying long string spanning multiple lines  #79

@justinmoon

Description

@justinmoon

Thanks for making this great tool! We recently started using mprocs for a developer playground that runs a handful of services at the same time and has a shell to interact with these services.

One problem is that when I select a long string that spans multiple lines (but doesn't contain any newlines itself) and press "c" to copy it

image

and then paste the resulting string, it now contains newlines which weren't present in the original string:

AAAAAAAAAAEAAAAAAAAAAQAAAAAAAAABCEugU0FOLagwr2NaNai2VNvDxe0vfNXss7bfggLQVK2wa1W5
PmtX7Dm72XyraGBSljmIadzJagAwofdsWXYDdPi0ErRGfwOs/Qp9D9RZYLGetUCm46xl3Z6dR0f55+RGSLQEJ9atIW9
JJmJOPYc/lg==

So I can't paste this back into another command without manually editing out the newlines myself.

I'm on m1 mac using default terminal app. Same thing happens if my shell is bash or fish.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions