{"action":"created","issue":{"url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard/issues/38","repository_url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard","labels_url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard/issues/38/comments","events_url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard/issues/38/events","html_url":"https://github.com/FormidableLabs/nodejs-dashboard/issues/38","id":183730238,"number":38,"title":"process.stdout.write no output","user":{"login":"loretoparisi","id":163333,"avatar_url":"https://avatars.githubusercontent.com/u/163333?v=3","gravatar_id":"","url":"https://api.github.com/users/loretoparisi","html_url":"https://github.com/loretoparisi","followers_url":"https://api.github.com/users/loretoparisi/followers","following_url":"https://api.github.com/users/loretoparisi/following{/other_user}","gists_url":"https://api.github.com/users/loretoparisi/gists{/gist_id}","starred_url":"https://api.github.com/users/loretoparisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loretoparisi/subscriptions","organizations_url":"https://api.github.com/users/loretoparisi/orgs","repos_url":"https://api.github.com/users/loretoparisi/repos","events_url":"https://api.github.com/users/loretoparisi/events{/privacy}","received_events_url":"https://api.github.com/users/loretoparisi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-18T16:00:22Z","updated_at":"2017-02-14T18:16:37Z","closed_at":null,"body":"I have no output in the `stdout` view, when doing\n\n``` javascript\nconst spinner = [ '⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏' ];\nprocess.stdout.write(\" \"+spinner[ (index+1)% spinner.length ]+\"\\r\" );\n```\n"},"comment":{"url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard/issues/comments/279789523","html_url":"https://github.com/FormidableLabs/nodejs-dashboard/issues/38#issuecomment-279789523","issue_url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard/issues/38","id":279789523,"user":{"login":"aisapatino","id":1279315,"avatar_url":"https://avatars.githubusercontent.com/u/1279315?v=3","gravatar_id":"","url":"https://api.github.com/users/aisapatino","html_url":"https://github.com/aisapatino","followers_url":"https://api.github.com/users/aisapatino/followers","following_url":"https://api.github.com/users/aisapatino/following{/other_user}","gists_url":"https://api.github.com/users/aisapatino/gists{/gist_id}","starred_url":"https://api.github.com/users/aisapatino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aisapatino/subscriptions","organizations_url":"https://api.github.com/users/aisapatino/orgs","repos_url":"https://api.github.com/users/aisapatino/repos","events_url":"https://api.github.com/users/aisapatino/events{/privacy}","received_events_url":"https://api.github.com/users/aisapatino/received_events","type":"User","site_admin":false},"created_at":"2017-02-14T18:16:37Z","updated_at":"2017-02-14T18:16:37Z","body":"Unable to reproduce. WIth the first example\r\n\r\n```js\r\nconst spinner = [ '⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏' ];\r\nprocess.stdout.write(\" \"+spinner[ (index+1)% spinner.length ]+\"\\r\" );\r\n```\r\n\r\nI see nothing in stdout because it throws an error (`index is not defined`)\r\n\r\nSecond example\r\n\r\n```js\r\nconst spinner = [ '⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏' ];\r\nfor(var count=0;count<100000;count++) process.stdout.write(\" \"+spinner[  (count+1)% spinner.length ]+\"\\033[0G\" );\r\n```\r\n\r\nI see something like this\r\n\r\n<img width=\"943\" alt=\"screen shot 2017-02-14 at 10 12 46 am\" src=\"https://cloud.githubusercontent.com/assets/1279315/22942379/2a4d2f12-f29e-11e6-920c-534490d4fb0c.png\">\r\n\r\nmy terminal doesn't recognize `\\033[0G` but there's definitely text going to stdout"}}
{"actor":{"display_login":"aisapatino"}}