{"action":"created","comment":{"url":"https://api.github.com/repos/SBoudrias/Inquirer.js/pulls/comments/49937457","id":49937457,"diff_hunk":"@@ -1,6 +1,6 @@\n {\n   \"name\": \"inquirer\",\n-  \"version\": \"0.11.2\",\n+  \"version\": \"0.11.3\",","path":"package.json","position":4,"original_position":4,"commit_id":"fe210adaa9118682d562fd16cacc28364c558d79","original_commit_id":"fe210adaa9118682d562fd16cacc28364c558d79","user":{"login":"SBoudrias","id":923865,"avatar_url":"https://avatars.githubusercontent.com/u/923865?v=3","gravatar_id":"","url":"https://api.github.com/users/SBoudrias","html_url":"https://github.com/SBoudrias","followers_url":"https://api.github.com/users/SBoudrias/followers","following_url":"https://api.github.com/users/SBoudrias/following{/other_user}","gists_url":"https://api.github.com/users/SBoudrias/gists{/gist_id}","starred_url":"https://api.github.com/users/SBoudrias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SBoudrias/subscriptions","organizations_url":"https://api.github.com/users/SBoudrias/orgs","repos_url":"https://api.github.com/users/SBoudrias/repos","events_url":"https://api.github.com/users/SBoudrias/events{/privacy}","received_events_url":"https://api.github.com/users/SBoudrias/received_events","type":"User","site_admin":false},"body":"Please don't bump versions yourself. The maintainers will take care of that.","created_at":"2016-01-16T21:35:20Z","updated_at":"2016-01-16T21:35:20Z","html_url":"https://github.com/SBoudrias/Inquirer.js/pull/322#discussion_r49937457","pull_request_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/pulls/322","_links":{"self":{"href":"https://api.github.com/repos/SBoudrias/Inquirer.js/pulls/comments/49937457"},"html":{"href":"https://github.com/SBoudrias/Inquirer.js/pull/322#discussion_r49937457"},"pull_request":{"href":"https://api.github.com/repos/SBoudrias/Inquirer.js/pulls/322"}}},"pull_request":{"url":"https://api.github.com/repos/SBoudrias/Inquirer.js/pulls/322","id":56254281,"html_url":"https://github.com/SBoudrias/Inquirer.js/pull/322","diff_url":"https://github.com/SBoudrias/Inquirer.js/pull/322.diff","patch_url":"https://github.com/SBoudrias/Inquirer.js/pull/322.patch","issue_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/issues/322","number":322,"state":"open","locked":false,"title":"fix incorrect cursor position","user":{"login":"yibn2008","id":4136679,"avatar_url":"https://avatars.githubusercontent.com/u/4136679?v=3","gravatar_id":"","url":"https://api.github.com/users/yibn2008","html_url":"https://github.com/yibn2008","followers_url":"https://api.github.com/users/yibn2008/followers","following_url":"https://api.github.com/users/yibn2008/following{/other_user}","gists_url":"https://api.github.com/users/yibn2008/gists{/gist_id}","starred_url":"https://api.github.com/users/yibn2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yibn2008/subscriptions","organizations_url":"https://api.github.com/users/yibn2008/orgs","repos_url":"https://api.github.com/users/yibn2008/repos","events_url":"https://api.github.com/users/yibn2008/events{/privacy}","received_events_url":"https://api.github.com/users/yibn2008/received_events","type":"User","site_admin":false},"body":"I found two bugs when use input prompt.\r\n\r\n## First One\r\n\r\nWhen prompt message contains multibyte characters (e.g. Chinese/Japanese), the input cursor position will move away:\r\n\r\n![qq20160116-0](https://cloud.githubusercontent.com/assets/4136679/12372543/1514024e-bc97-11e5-88dd-16c225c01332.png)\r\n\r\nThe reason is result of `width()` function in screen-manager.js doesn't match with display length.\r\n\r\n## The Second\r\n\r\nWhen I moved LEFT key after typed some text in answer area, the cursor does't move; but when I type again, the characters will come out from the front of cursor.\r\n\r\n![qq20160116-1](https://cloud.githubusercontent.com/assets/4136679/12372669/c2ca7d02-bc9a-11e5-8d52-40177d92acc4.png)\r\n\r\nWhen re-adjust cursor one the right in ScreenManager.render, the column size does't match with real cursor in mute stream","created_at":"2016-01-16T14:02:29Z","updated_at":"2016-01-16T21:35:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78862c9d4d57545f083406229a14df55f8a7ed1d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/pulls/322/commits","review_comments_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/pulls/322/comments","review_comment_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/issues/322/comments","statuses_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/statuses/fe210adaa9118682d562fd16cacc28364c558d79","head":{"label":"yibn2008:fix-mb-bug","ref":"fix-mb-bug","sha":"fe210adaa9118682d562fd16cacc28364c558d79","user":{"login":"yibn2008","id":4136679,"avatar_url":"https://avatars.githubusercontent.com/u/4136679?v=3","gravatar_id":"","url":"https://api.github.com/users/yibn2008","html_url":"https://github.com/yibn2008","followers_url":"https://api.github.com/users/yibn2008/followers","following_url":"https://api.github.com/users/yibn2008/following{/other_user}","gists_url":"https://api.github.com/users/yibn2008/gists{/gist_id}","starred_url":"https://api.github.com/users/yibn2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yibn2008/subscriptions","organizations_url":"https://api.github.com/users/yibn2008/orgs","repos_url":"https://api.github.com/users/yibn2008/repos","events_url":"https://api.github.com/users/yibn2008/events{/privacy}","received_events_url":"https://api.github.com/users/yibn2008/received_events","type":"User","site_admin":false},"repo":{"id":49773127,"name":"Inquirer.js","full_name":"yibn2008/Inquirer.js","owner":{"login":"yibn2008","id":4136679,"avatar_url":"https://avatars.githubusercontent.com/u/4136679?v=3","gravatar_id":"","url":"https://api.github.com/users/yibn2008","html_url":"https://github.com/yibn2008","followers_url":"https://api.github.com/users/yibn2008/followers","following_url":"https://api.github.com/users/yibn2008/following{/other_user}","gists_url":"https://api.github.com/users/yibn2008/gists{/gist_id}","starred_url":"https://api.github.com/users/yibn2008/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yibn2008/subscriptions","organizations_url":"https://api.github.com/users/yibn2008/orgs","repos_url":"https://api.github.com/users/yibn2008/repos","events_url":"https://api.github.com/users/yibn2008/events{/privacy}","received_events_url":"https://api.github.com/users/yibn2008/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yibn2008/Inquirer.js","description":"A collection of common interactive command line user interfaces.","fork":true,"url":"https://api.github.com/repos/yibn2008/Inquirer.js","forks_url":"https://api.github.com/repos/yibn2008/Inquirer.js/forks","keys_url":"https://api.github.com/repos/yibn2008/Inquirer.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yibn2008/Inquirer.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yibn2008/Inquirer.js/teams","hooks_url":"https://api.github.com/repos/yibn2008/Inquirer.js/hooks","issue_events_url":"https://api.github.com/repos/yibn2008/Inquirer.js/issues/events{/number}","events_url":"https://api.github.com/repos/yibn2008/Inquirer.js/events","assignees_url":"https://api.github.com/repos/yibn2008/Inquirer.js/assignees{/user}","branches_url":"https://api.github.com/repos/yibn2008/Inquirer.js/branches{/branch}","tags_url":"https://api.github.com/repos/yibn2008/Inquirer.js/tags","blobs_url":"https://api.github.com/repos/yibn2008/Inquirer.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yibn2008/Inquirer.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yibn2008/Inquirer.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/yibn2008/Inquirer.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yibn2008/Inquirer.js/statuses/{sha}","languages_url":"https://api.github.com/repos/yibn2008/Inquirer.js/languages","stargazers_url":"https://api.github.com/repos/yibn2008/Inquirer.js/stargazers","contributors_url":"https://api.github.com/repos/yibn2008/Inquirer.js/contributors","subscribers_url":"https://api.github.com/repos/yibn2008/Inquirer.js/subscribers","subscription_url":"https://api.github.com/repos/yibn2008/Inquirer.js/subscription","commits_url":"https://api.github.com/repos/yibn2008/Inquirer.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/yibn2008/Inquirer.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/yibn2008/Inquirer.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/yibn2008/Inquirer.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/yibn2008/Inquirer.js/contents/{+path}","compare_url":"https://api.github.com/repos/yibn2008/Inquirer.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yibn2008/Inquirer.js/merges","archive_url":"https://api.github.com/repos/yibn2008/Inquirer.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yibn2008/Inquirer.js/downloads","issues_url":"https://api.github.com/repos/yibn2008/Inquirer.js/issues{/number}","pulls_url":"https://api.github.com/repos/yibn2008/Inquirer.js/pulls{/number}","milestones_url":"https://api.github.com/repos/yibn2008/Inquirer.js/milestones{/number}","notifications_url":"https://api.github.com/repos/yibn2008/Inquirer.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yibn2008/Inquirer.js/labels{/name}","releases_url":"https://api.github.com/repos/yibn2008/Inquirer.js/releases{/id}","created_at":"2016-01-16T12:50:59Z","updated_at":"2016-01-16T12:51:00Z","pushed_at":"2016-01-16T14:01:08Z","git_url":"git://github.com/yibn2008/Inquirer.js.git","ssh_url":"git@github.com:yibn2008/Inquirer.js.git","clone_url":"https://github.com/yibn2008/Inquirer.js.git","svn_url":"https://github.com/yibn2008/Inquirer.js","homepage":null,"size":530,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SBoudrias:master","ref":"master","sha":"9ce4983ef6a4dcfb08b8ea3f98c78a009451034f","user":{"login":"SBoudrias","id":923865,"avatar_url":"https://avatars.githubusercontent.com/u/923865?v=3","gravatar_id":"","url":"https://api.github.com/users/SBoudrias","html_url":"https://github.com/SBoudrias","followers_url":"https://api.github.com/users/SBoudrias/followers","following_url":"https://api.github.com/users/SBoudrias/following{/other_user}","gists_url":"https://api.github.com/users/SBoudrias/gists{/gist_id}","starred_url":"https://api.github.com/users/SBoudrias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SBoudrias/subscriptions","organizations_url":"https://api.github.com/users/SBoudrias/orgs","repos_url":"https://api.github.com/users/SBoudrias/repos","events_url":"https://api.github.com/users/SBoudrias/events{/privacy}","received_events_url":"https://api.github.com/users/SBoudrias/received_events","type":"User","site_admin":false},"repo":{"id":10114077,"name":"Inquirer.js","full_name":"SBoudrias/Inquirer.js","owner":{"login":"SBoudrias","id":923865,"avatar_url":"https://avatars.githubusercontent.com/u/923865?v=3","gravatar_id":"","url":"https://api.github.com/users/SBoudrias","html_url":"https://github.com/SBoudrias","followers_url":"https://api.github.com/users/SBoudrias/followers","following_url":"https://api.github.com/users/SBoudrias/following{/other_user}","gists_url":"https://api.github.com/users/SBoudrias/gists{/gist_id}","starred_url":"https://api.github.com/users/SBoudrias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SBoudrias/subscriptions","organizations_url":"https://api.github.com/users/SBoudrias/orgs","repos_url":"https://api.github.com/users/SBoudrias/repos","events_url":"https://api.github.com/users/SBoudrias/events{/privacy}","received_events_url":"https://api.github.com/users/SBoudrias/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SBoudrias/Inquirer.js","description":"A collection of common interactive command line user interfaces.","fork":false,"url":"https://api.github.com/repos/SBoudrias/Inquirer.js","forks_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/forks","keys_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/teams","hooks_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/hooks","issue_events_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/issues/events{/number}","events_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/events","assignees_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/assignees{/user}","branches_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/branches{/branch}","tags_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/tags","blobs_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/statuses/{sha}","languages_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/languages","stargazers_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/stargazers","contributors_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/contributors","subscribers_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/subscribers","subscription_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/subscription","commits_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/contents/{+path}","compare_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/merges","archive_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/downloads","issues_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/issues{/number}","pulls_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/pulls{/number}","milestones_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/milestones{/number}","notifications_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/labels{/name}","releases_url":"https://api.github.com/repos/SBoudrias/Inquirer.js/releases{/id}","created_at":"2013-05-17T01:41:36Z","updated_at":"2016-01-16T20:36:41Z","pushed_at":"2016-01-16T14:02:29Z","git_url":"git://github.com/SBoudrias/Inquirer.js.git","ssh_url":"git@github.com:SBoudrias/Inquirer.js.git","clone_url":"https://github.com/SBoudrias/Inquirer.js.git","svn_url":"https://github.com/SBoudrias/Inquirer.js","homepage":null,"size":842,"stargazers_count":2244,"watchers_count":2244,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":157,"mirror_url":null,"open_issues_count":49,"forks":157,"open_issues":49,"watchers":2244,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SBoudrias/Inquirer.js/pulls/322"},"html":{"href":"https://github.com/SBoudrias/Inquirer.js/pull/322"},"issue":{"href":"https://api.github.com/repos/SBoudrias/Inquirer.js/issues/322"},"comments":{"href":"https://api.github.com/repos/SBoudrias/Inquirer.js/issues/322/comments"},"review_comments":{"href":"https://api.github.com/repos/SBoudrias/Inquirer.js/pulls/322/comments"},"review_comment":{"href":"https://api.github.com/repos/SBoudrias/Inquirer.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SBoudrias/Inquirer.js/pulls/322/commits"},"statuses":{"href":"https://api.github.com/repos/SBoudrias/Inquirer.js/statuses/fe210adaa9118682d562fd16cacc28364c558d79"}}}}