C#下控制台程序窗口下启用快速编辑模式运行线程会阻止线程运行

最近做一个小的功能,使用C#控制台程序开启一个线程进行无限循环没5秒处理一次程序,发现控制台窗口在开启快速编辑模式情况下,进行选择程序打印 出来的文字后发现线程不走了,将快速编辑模式去除后,线程就不会停止了! 不知道两者之间有什么关联,再次跪求各位大神帮忙解释下!

线程:

public void StartThead()
        {
            var thread = new Thread(DoSomeThing);
            thread.Start();

        }

        public void DoSomeThing()
        {
            while (true)
            {
                Console.WriteLine(DateTime.Now.ToString()+">>>>>>>>>>>");
                Thread.Sleep(1000 * 5);
            }
        }

主程序调用:

static void Main(string[] args)
        {
            new Class1().StartThead();
        }

原文地址:https://www.cnblogs.com/sjm19910902/p/3821960.html