-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paste swallows newlines from the web... Gitlab #5736
Comments
What version of the Terminal are you running? What application are you running in the Terminal that you're trying to paste into? Could you share some screenshots perhaps? |
In addition, do you mean “when I paste it into notepad and then copy it again and paste it into Terminal”? I’ve never had good luck pasting content directly from GitHub or GitLab. |
(In any application.) |
Updated my reproduction in original post... I'm used to it working pretty well under Ubuntu/mac/Fedora. with iTerm, Gnome terminal and Terminator. Looks like a workaround is to show the raw file. |
WSL Debian, I don't recall ever using terminal for any other shell. Not sure how WSL works, but Ubuntu 20.04 and Debian should be near identical, as 20.04 is an LTS release which are based on the latest Debian distro release... main difference being the GUI, which WSL lacks anyway |
Okay, this one doesn't have a great resolution. When we take text off the clipboard, we replace There's an additional wrinkle, though. nano interprets It looks like this works on other terminals because nano also requests "bracketed paste" mode. When bracketed paste is supported, it can know that content is coming in off the clipboard and suppress the justify action. This'll be a /dupe of #395 with a little bit of nano flair thrown in. |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
I'm pasting some code from gitlab, but the new lines are missing... ending up is a garbled mess.... what's going on?
When I paste from the notepad, everything works as expected
Reproduction:
Watch a garbled mess
The text was updated successfully, but these errors were encountered: