Microsoft Windows [Version 10.0.18363.836]
Any other software?
MS Teams. And it's unique to MS Teams AFAIK. But both Terminal and Teams behave like expected when interacting with other software.
Copy & Paste from other plain text sources _(of which I think the Terminal is one, mat least when it comes to C&P)_ results in black text on white background _(using the light theme for Teams)_. I'd expect the same colors when pasting text from the Terminal.
C&P from PowerShell or cmd not launched thru Terminal results in the expected behavior.
Text pasted from a Terminal shell results in MS Teams adding a red background:


I don't know which application to blame, as both seem to show the expected results when interacting with other applications. It's these two interacting with each other.
I'll say that Teams has by far the worst formatted paste of any app I've seen so far. I don't know why it seems to just pick a seemingly random color for the text background, and ignore everything else.
It works fine in Outlook and other office apps:

but Teams is just:

You can work around this usually by pressing ctrl+shift+v when pasting into Teams.
I'm gonna take this on me to follow up with the Teams team and figure out why this is so bad. I've filed feedback, and their bot gave me a link in my inbox to follow up with
And if you want to disable formatted copy forever, add "copyFormatting": false to your toplevel settings. :smile:
@zadjii-msft Thanks for picking this up and handing it over to the appropriate Teams ... pun intended, obviously.
Now that it isn't a Terminal isue, but got picked up, I'm unsure as to what to do with the issue? Close it, leave it open for you guys to follow up? I'd be fine by me, if you close it yourself, if no longer needed as an open issue.
@DHowett Thank you very much! Now that is helluva useful setting. If I had something to say, that'd be the default setting.
I'm gonna leave this open for now while to make sure I track down the right people. Thanks for the diligence though!
the default setting
Good news! It is, for anyone who installed Terminal after version 1.0 came out. We didn’t stomp the defaults for everyone who was already using it, because moving peoples’ cheese is considered unkind ;)
@DHowett
Good news! It is, for anyone who installed Terminal after version 1.0 came out.
What's this arcane sorcery? Mind-reading from afar ... 👍
Hey so a follow up from the Teams team - apparently this is going to be fixed in an upcoming Teams release, but I'm not sure when that release will land, and I'm pretty confident I couldn't communicate that timeline even if I did know.
Most helpful comment
Good news! It is, for anyone who installed Terminal after version 1.0 came out. We didn’t stomp the defaults for everyone who was already using it, because moving peoples’ cheese is considered unkind ;)