{"action":"created","issue":{"url":"https://api.github.com/repos/clue/php-readline-react/issues/1","repository_url":"https://api.github.com/repos/clue/php-readline-react","labels_url":"https://api.github.com/repos/clue/php-readline-react/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/clue/php-readline-react/issues/1/comments","events_url":"https://api.github.com/repos/clue/php-readline-react/issues/1/events","html_url":"https://github.com/clue/php-readline-react/issues/1","id":187536233,"number":1,"title":"There's no prompt when you hit enter","user":{"login":"davidwdan","id":4969183,"avatar_url":"https://avatars.githubusercontent.com/u/4969183?v=3","gravatar_id":"","url":"https://api.github.com/users/davidwdan","html_url":"https://github.com/davidwdan","followers_url":"https://api.github.com/users/davidwdan/followers","following_url":"https://api.github.com/users/davidwdan/following{/other_user}","gists_url":"https://api.github.com/users/davidwdan/gists{/gist_id}","starred_url":"https://api.github.com/users/davidwdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidwdan/subscriptions","organizations_url":"https://api.github.com/users/davidwdan/orgs","repos_url":"https://api.github.com/users/davidwdan/repos","events_url":"https://api.github.com/users/davidwdan/events{/privacy}","received_events_url":"https://api.github.com/users/davidwdan/received_events","type":"User","site_admin":false},"labels":[{"id":122329771,"url":"https://api.github.com/repos/clue/php-readline-react/labels/bug","name":"bug","color":"fc2929","default":true},{"id":122329774,"url":"https://api.github.com/repos/clue/php-readline-react/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-06T01:55:36Z","updated_at":"2016-11-06T12:08:48Z","closed_at":null,"body":"I'm running into an issue where when I press enter, the prompt does not appear.  I'm not sure if this is a OSX related issue or what, but adding the following lines at line 123 fixes the issue:\r\n\r\n```PHP\r\nreadline_callback_handler_remove();\r\nreadline_callback_handler_install($this->prompt, array($this, 'handleLine'));\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/clue/php-readline-react/issues/comments/258676806","html_url":"https://github.com/clue/php-readline-react/issues/1#issuecomment-258676806","issue_url":"https://api.github.com/repos/clue/php-readline-react/issues/1","id":258676806,"user":{"login":"clue","id":776829,"avatar_url":"https://avatars.githubusercontent.com/u/776829?v=3","gravatar_id":"","url":"https://api.github.com/users/clue","html_url":"https://github.com/clue","followers_url":"https://api.github.com/users/clue/followers","following_url":"https://api.github.com/users/clue/following{/other_user}","gists_url":"https://api.github.com/users/clue/gists{/gist_id}","starred_url":"https://api.github.com/users/clue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clue/subscriptions","organizations_url":"https://api.github.com/users/clue/orgs","repos_url":"https://api.github.com/users/clue/repos","events_url":"https://api.github.com/users/clue/events{/privacy}","received_events_url":"https://api.github.com/users/clue/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T12:08:48Z","updated_at":"2016-11-06T12:08:48Z","body":"Thanks for spotting!\r\n\r\nLooks like even the docs suggest one should simply call `readline_callback_handler_install()` again in order to redraw the prompt: http://php.net/manual/en/function.readline-callback-handler-install.php\r\n\r\nDoes anybody feel like filing a PR? :+1: \r\n\r\nFWIW: This project was a mere experiment and I stopped using this after realizing its limitations. I would encourage everybody to use [clue/stdio-react](https://github.com/clue/php-stdio-react) instead."}}
{"actor":{"display_login":"clue"}}