{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/20348","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/20348/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/20348/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/20348/events","html_url":"https://github.com/nodejs/node/issues/20348","id":318262331,"number":20348,"title":"REPL on Windows doesn't display console cursor after moving","user":{"login":"advanceddeveloper","id":38354752,"avatar_url":"https://avatars2.githubusercontent.com/u/38354752?v=4","gravatar_id":"","url":"https://api.github.com/users/advanceddeveloper","html_url":"https://github.com/advanceddeveloper","followers_url":"https://api.github.com/users/advanceddeveloper/followers","following_url":"https://api.github.com/users/advanceddeveloper/following{/other_user}","gists_url":"https://api.github.com/users/advanceddeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/advanceddeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advanceddeveloper/subscriptions","organizations_url":"https://api.github.com/users/advanceddeveloper/orgs","repos_url":"https://api.github.com/users/advanceddeveloper/repos","events_url":"https://api.github.com/users/advanceddeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/advanceddeveloper/received_events","type":"User","site_admin":false},"labels":[{"id":155435882,"url":"https://api.github.com/repos/nodejs/node/labels/repl","name":"repl","color":"5319e7","default":false},{"id":166236401,"url":"https://api.github.com/repos/nodejs/node/labels/windows","name":"windows","color":"9944dd","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-27T03:03:22Z","updated_at":"2018-05-03T12:54:11Z","closed_at":null,"author_association":"NONE","body":"* **Version**: v10.0.0\r\n* **Platform**: Windows 10\r\n* **Subsystem**: repl?\r\n\r\n### Steps to reproduce the problem:\r\n\r\n1. Open command prompt or powershell\r\n2. Type `node` and then press enter\r\n3. Write some code\r\n4. Press left arrow on the keyboard <kbd>←</kbd>\r\n5. The console cursor becomes invisible for a second\r\n\r\n### What is the expected behavior?\r\n\r\nThe cursor should be visible immediatelly after moving (to the left or to the right). For example, command prompt automatically displays the cursor after it has been moved. The cursor has blink rate, but after user moves it, it should be visible no matter if at the given moment the blink rate timeout suggest that it should be visible or invisible.\r\n\r\n### What went wrong?\r\n\r\nAfter moving, the cursor becomes hidden. It makes navigating through the code very hard. Users need to wait one second after moving in order to find out where the cursor currently is. Using <kbd>CTRL</kbd>+<kbd>←</kbd> helps a bit skipping whole words, but it is still very hard to navigate if the code is large.\r\n\r\n### Is it a problem with Node.js itself?\r\n\r\nI am pretty sure it is. The reason I think it is Node.js issue and not issue with command prompt is because other programs which provide REPL functionalities properly display the cursor after moving (reset the cursor blink rate to visible state). For example, Python 3.6 properly handles it.\r\n\r\n### Did this work before?\r\n\r\nI think no."},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/386285449","html_url":"https://github.com/nodejs/node/issues/20348#issuecomment-386285449","issue_url":"https://api.github.com/repos/nodejs/node/issues/20348","id":386285449,"user":{"login":"tniessen","id":3109072,"avatar_url":"https://avatars3.githubusercontent.com/u/3109072?v=4","gravatar_id":"","url":"https://api.github.com/users/tniessen","html_url":"https://github.com/tniessen","followers_url":"https://api.github.com/users/tniessen/followers","following_url":"https://api.github.com/users/tniessen/following{/other_user}","gists_url":"https://api.github.com/users/tniessen/gists{/gist_id}","starred_url":"https://api.github.com/users/tniessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tniessen/subscriptions","organizations_url":"https://api.github.com/users/tniessen/orgs","repos_url":"https://api.github.com/users/tniessen/repos","events_url":"https://api.github.com/users/tniessen/events{/privacy}","received_events_url":"https://api.github.com/users/tniessen/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T12:54:11Z","updated_at":"2018-05-03T12:54:11Z","author_association":"MEMBER","body":"@advanceddeveloper Sorry, I still was not able to reproduce the problem. The DLL list looks normal, I just had you check because we had issues with third-party applications injecting DLLs into node / the console in the past.\r\n\r\nIs someone else from @nodejs/platform-windows able to reproduce?"}}
{"actor":{"display_login":"tniessen"}}