Console.BackgroundColor对docker

时间:2019-03-27 01:11:25

标签: c# .net docker .net-core core

在我的.NET Core应用程序中,我通过以下方式设置控制台语句的颜色

Console.BackgroundColor = ConsoleColor.Blue;
Console.ForegroundColor = ConsoleColor.White;

以上内容在Windows上有效,但是当我在docker容器上运行相同的.NET Core应用程序时,它没有任何作用

0 个答案:

没有答案