Console application freezes on mouse click

前端 未结 1 1743
别跟我提以往
别跟我提以往 2020-12-10 08:09

I have a very simple C# console application that displays some text and loops waiting for input until the escape key is pressed or the timeout period is served.



        
相关标签:
1条回答
  • 2020-12-10 08:48

    The issue was solved using Hans' comment above.

    Sounds to me that you've activated the console window's Mark and Paste commands somehow. Normally activate through the system menu (Alt + Space, Edit, Mark/Paste). That doesn't have anything to do with this code of course.

    Apparently, Quick Edit Mode was set in the console defaults (Alt + Space, Defaults, Options, Edit Options, Quick Edit Mode) for some reason. Unchecking that resolved the issue.

    0 讨论(0)
提交回复
热议问题