<p dir="auto">Hi All</p>
<p dir="auto">i dont't know if there is something wrong with my confing or it is a bug but in WSL and linux boxes connected via ssh when pasting clear text from notepad, Windows Terminal after each line, leaves one empty line. I am pasting using right click.</p>
<p dir="auto">It does not happen on cmd.exe or PowerShell</p>
<p dir="auto">Anybody know how to resolve that?</p>
<p dir="auto">Thanks</p>
<p dir="auto">Multiline text pasted from the clipboard includes CRLF pairs in all cases; this is inappropriate for "Unix-space" sessions, such as WSL.</p>
<h1 dir="auto">Environment</h1>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.18362.145]
Windows Terminal version (if applicable): 71e19cd82528d66a0a7867cbed85990cfc1685f1"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.18362.145]
Windows Terminal version (if applicable): 71e19cd82528d66a0a7867cbed85990cfc1685f1
</code></pre></div>
<h1 dir="auto">Steps to reproduce</h1>
<p dir="auto">Select multiline text in Terminal.<br>
Copy it (via right-click, ostensibly)<br>
Paste it (again via right-click)</p>
<h1 dir="auto">Expected behavior</h1>
<p dir="auto">When pasting into a Unix-space session -- such as WSL -- pasted text should have a reasonable set of line-ending characters.</p>
<h1 dir="auto">Actual behavior</h1>
<p dir="auto">Line endings are "doubled" on text paste to Unix-space sessions.</p>