{"action":"created","issue":{"url":"https://api.github.com/repos/kanaka/mal/issues/313","repository_url":"https://api.github.com/repos/kanaka/mal","labels_url":"https://api.github.com/repos/kanaka/mal/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/kanaka/mal/issues/313/comments","events_url":"https://api.github.com/repos/kanaka/mal/issues/313/events","html_url":"https://github.com/kanaka/mal/issues/313","id":296540683,"number":313,"title":"Can't run tests using rustyline","user":{"login":"Roger","id":9746,"avatar_url":"https://avatars2.githubusercontent.com/u/9746?v=4","gravatar_id":"","url":"https://api.github.com/users/Roger","html_url":"https://github.com/Roger","followers_url":"https://api.github.com/users/Roger/followers","following_url":"https://api.github.com/users/Roger/following{/other_user}","gists_url":"https://api.github.com/users/Roger/gists{/gist_id}","starred_url":"https://api.github.com/users/Roger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roger/subscriptions","organizations_url":"https://api.github.com/users/Roger/orgs","repos_url":"https://api.github.com/users/Roger/repos","events_url":"https://api.github.com/users/Roger/events{/privacy}","received_events_url":"https://api.github.com/users/Roger/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-12T22:03:52Z","updated_at":"2018-02-13T11:08:17Z","closed_at":"2018-02-12T22:47:31Z","author_association":"NONE","body":"I'm trying to implement a rust version of mal, but I can't run the tests because of how the readline implementation of rustyline is made, it add some control codes, I tryied making a regex that removes the control codes(in runtests.py), that somehow worked, but it also get a \\r at the start of the lines..\r\n\r\nExample output for 'abcABC123':\r\n'\\r\\x1b[6CabcABC123\\r\\nabcABC123\\r\\n\\r\\x1b[0Kuser> \\r\\x1b[6C'\r\n\r\nAny idea of how to fix tests for rustyline?"},"comment":{"url":"https://api.github.com/repos/kanaka/mal/issues/comments/365233469","html_url":"https://github.com/kanaka/mal/issues/313#issuecomment-365233469","issue_url":"https://api.github.com/repos/kanaka/mal/issues/313","id":365233469,"user":{"login":"Roger","id":9746,"avatar_url":"https://avatars2.githubusercontent.com/u/9746?v=4","gravatar_id":"","url":"https://api.github.com/users/Roger","html_url":"https://github.com/Roger","followers_url":"https://api.github.com/users/Roger/followers","following_url":"https://api.github.com/users/Roger/following{/other_user}","gists_url":"https://api.github.com/users/Roger/gists{/gist_id}","starred_url":"https://api.github.com/users/Roger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Roger/subscriptions","organizations_url":"https://api.github.com/users/Roger/orgs","repos_url":"https://api.github.com/users/Roger/repos","events_url":"https://api.github.com/users/Roger/events{/privacy}","received_events_url":"https://api.github.com/users/Roger/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T11:08:17Z","updated_at":"2018-02-13T11:08:17Z","author_association":"NONE","body":"Oh I see.. wouldn't be nice to add some reference about this on the guide or readme?"}}
{"actor":{"display_login":"Roger"}}