Warning when pasting multiple lines could offer to merge text into a single line #17965

Closed
opened 2026-01-31 05:59:47 +00:00 by claunia · 1 comment
Owner

Originally created by @divega on GitHub (Jul 19, 2022).

I usually get this warning because I need to copy a full path of a file that has been broken down into multiple lines on the terminal into a new command.

When I get the warning, I know that the path of the file won't work as is, and I need to cancel the paste action and fix the text using another program like VS code or notepad before I can paste it back into the terminal.

Proposed solution

I think it would be a great time saver for users like me if the terminal could do this fixup (remove all the line breaks) itself as an option alongside Paste anyway.

Originally created by @divega on GitHub (Jul 19, 2022). I usually get this warning because I need to copy a full path of a file that has been broken down into multiple lines on the terminal into a new command. When I get the warning, I know that the path of the file won't work as is, and I need to cancel the paste action and fix the text using another program like VS code or notepad before I can paste it back into the terminal. # Proposed solution I think it would be a great time saver for users like me if the terminal could do this fixup (remove all the line breaks) itself as an option alongside `Paste anyway`.
claunia added the Issue-FeatureNeeds-TriageNeeds-Tag-Fix labels 2026-01-31 05:59:47 +00:00
Author
Owner

@carlos-zamora commented on GitHub (Aug 9, 2023):

Hi @divega. Thank you for the request.

I need to copy a full path of a file that has been broken down into multiple lines on the terminal

This sounds like an issue with a wrapping bug in our terminal (see https://github.com/microsoft/terminal/issues/6901#issuecomment-1307781312). It doesn't feel right to add features to work around bugs in our own project. We'd rather fix the bug. Thus, we'll be closing this feature request.

@carlos-zamora commented on GitHub (Aug 9, 2023): Hi @divega. Thank you for the request. > I need to copy a full path of a file that has been broken down into multiple lines on the terminal This sounds like an issue with a wrapping bug in our terminal (see https://github.com/microsoft/terminal/issues/6901#issuecomment-1307781312). It doesn't feel right to add features to work around bugs in our own project. We'd rather fix the bug. Thus, we'll be closing this feature request.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17965