{"id":88,"date":"2021-07-21T12:16:37","date_gmt":"2021-07-21T02:16:37","guid":{"rendered":"http:\/\/gerardwknight.duckdns.org\/?p=88"},"modified":"2021-07-21T12:16:40","modified_gmt":"2021-07-21T02:16:40","slug":"windows-10-console-apps-hanging","status":"publish","type":"post","link":"https:\/\/gerardwknight.duckdns.org\/index.php\/2021\/07\/21\/windows-10-console-apps-hanging\/","title":{"rendered":"Windows 10 Console Apps Hanging"},"content":{"rendered":"\n<p>Recently I wrote a console app. to run under Windows 10. To my frustration the app appeared to hang for no apparent reason, but would resume when I pressed the Enter key.<\/p>\n\n\n\n<p>After much investigating I found that this is by (Microsoft) design. When you click on the black screen of a console app it goes into &#8220;QuickEdit Mode&#8221;; basically its waiting for you to paste some text and press enter. This happens the next time the app calls a write\/writeline. It can be stopped by clicking the top right of the console app, selecting &#8220;Properties&#8221; and unticking the &#8220;Quick Edit Mode&#8221; option.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"390\" height=\"491\" src=\"https:\/\/gerardwknight.duckdns.org\/wp-content\/uploads\/2021\/07\/image.png\" alt=\"\" class=\"wp-image-89\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Recently I wrote a console app. to run under Windows 10. To my frustration the app appeared to hang for no apparent reason, but would resume when I pressed the Enter key. After much investigating I found that this is by (Microsoft) design. When you click on the black screen of a console app it [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Windows 10 Console Apps Hanging - GerardWKnight<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/gerardwknight.duckdns.org\/index.php\/2021\/07\/21\/windows-10-console-apps-hanging\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Windows 10 Console Apps Hanging - GerardWKnight\" \/>\n<meta property=\"og:description\" content=\"Recently I wrote a console app. to run under Windows 10. To my frustration the app appeared to hang for no apparent reason, but would resume when I pressed the Enter key. After much investigating I found that this is by (Microsoft) design. When you click on the black screen of a console app it [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/gerardwknight.duckdns.org\/index.php\/2021\/07\/21\/windows-10-console-apps-hanging\/\" \/>\n<meta property=\"og:site_name\" content=\"GerardWKnight\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-21T02:16:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-21T02:16:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/gerardwknight.duckdns.org\/wp-content\/uploads\/2021\/07\/image.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"1 minute\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/gerardwknight.duckdns.org\/#website\",\"url\":\"https:\/\/gerardwknight.duckdns.org\/\",\"name\":\"GerardWKnight\",\"description\":\"Web site of Melbourne based developer Gerard Knight\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/gerardwknight.duckdns.org\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/gerardwknight.duckdns.org\/index.php\/2021\/07\/21\/windows-10-console-apps-hanging\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/gerardwknight.duckdns.org\/wp-content\/uploads\/2021\/07\/image.png\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/gerardwknight.duckdns.org\/index.php\/2021\/07\/21\/windows-10-console-apps-hanging\/#webpage\",\"url\":\"http:\/\/gerardwknight.duckdns.org\/index.php\/2021\/07\/21\/windows-10-console-apps-hanging\/\",\"name\":\"Windows 10 Console Apps Hanging - GerardWKnight\",\"isPartOf\":{\"@id\":\"https:\/\/gerardwknight.duckdns.org\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/gerardwknight.duckdns.org\/index.php\/2021\/07\/21\/windows-10-console-apps-hanging\/#primaryimage\"},\"datePublished\":\"2021-07-21T02:16:37+00:00\",\"dateModified\":\"2021-07-21T02:16:40+00:00\",\"author\":{\"@id\":\"https:\/\/gerardwknight.duckdns.org\/#\/schema\/person\/9253da78f8cec50174c8c71e03a0fa45\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/gerardwknight.duckdns.org\/index.php\/2021\/07\/21\/windows-10-console-apps-hanging\/\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/gerardwknight.duckdns.org\/#\/schema\/person\/9253da78f8cec50174c8c71e03a0fa45\",\"name\":\"gerardwknight\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/gerardwknight.duckdns.org\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6e6f44202403f41895c15856cb917d94?s=96&d=mm&r=g\",\"caption\":\"gerardwknight\"},\"sameAs\":[\"http:\/\/192.168.0.16\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/posts\/88"}],"collection":[{"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":1,"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"predecessor-version":[{"id":90,"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/posts\/88\/revisions\/90"}],"wp:attachment":[{"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gerardwknight.duckdns.org\/index.php\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}