Terminal: Copying text from the command window behaves differently than previous versions

Created on 3 Jun 2019  路  4Comments  路  Source: microsoft/terminal

Ported from internal bug

When I select some text from a window using Vim.exe and paste to another window, the text is badly formatted.
Also, if double-click text from a command window, it copies/pastes the extra white-space at the end which was not the case in earlier releases.
I also see the problem when copy/pasting to an excel spreadsheel

Tried to repro: space bug does not repro, vim bug does since 19H1

Area-Interaction Issue-Bug Priority-2 Product-Conhost Resolution-Fix-Committed zInbox Bug

Most helpful comment

Copying text does not trim the trailing whitespace for me in WSL unless I hold down the Alt key while selecting. No issues with PowerShell or cmd.

All 4 comments

To clarify, this is not #1091 because 1091 is in Terminal and this is in Conhost

Just commenting to add that I see this behavior when it's PowerShell.exe in the terminal. Doesn't behave on the paste into other apps like it does with cmd.exe and PowerShell.exe natively. I assume it's the trailing whitespace on each line as the internal bug's description states.

Copying text does not trim the trailing whitespace for me in WSL unless I hold down the Alt key while selecting. No issues with PowerShell or cmd.

:tada:This issue was addressed in #2831, which has now been successfully released as Windows Terminal Preview v0.5.2762.0.:tada:

Handy links:

Was this page helpful?
0 / 5 - 0 ratings