{"action":"created","issue":{"url":"https://api.github.com/repos/click-contrib/click-repl/issues/10","repository_url":"https://api.github.com/repos/click-contrib/click-repl","labels_url":"https://api.github.com/repos/click-contrib/click-repl/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/click-contrib/click-repl/issues/10/comments","events_url":"https://api.github.com/repos/click-contrib/click-repl/issues/10/events","html_url":"https://github.com/click-contrib/click-repl/issues/10","id":168485345,"number":10,"title":"Lag after pressing enter on empty row is too long","user":{"login":"cool-RR","id":56778,"avatar_url":"https://avatars.githubusercontent.com/u/56778?v=3","gravatar_id":"","url":"https://api.github.com/users/cool-RR","html_url":"https://github.com/cool-RR","followers_url":"https://api.github.com/users/cool-RR/followers","following_url":"https://api.github.com/users/cool-RR/following{/other_user}","gists_url":"https://api.github.com/users/cool-RR/gists{/gist_id}","starred_url":"https://api.github.com/users/cool-RR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cool-RR/subscriptions","organizations_url":"https://api.github.com/users/cool-RR/orgs","repos_url":"https://api.github.com/users/cool-RR/repos","events_url":"https://api.github.com/users/cool-RR/events{/privacy}","received_events_url":"https://api.github.com/users/cool-RR/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/click-contrib/click-repl/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-30T20:24:35Z","updated_at":"2016-08-15T17:17:22Z","closed_at":null,"body":"I launch the repl and press enter without typing anything, and I have to wait about 0.5 seconds before the next prompt appears. I tried this several times and I get the delay every time. I guess some kind of heavy thinking is performed? Maybe put in a check that if the string is empty, just show another prompt without thinking too much?"},"comment":{"url":"https://api.github.com/repos/click-contrib/click-repl/issues/comments/239865149","html_url":"https://github.com/click-contrib/click-repl/issues/10#issuecomment-239865149","issue_url":"https://api.github.com/repos/click-contrib/click-repl/issues/10","id":239865149,"user":{"login":"jonathanslenders","id":216638,"avatar_url":"https://avatars.githubusercontent.com/u/216638?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanslenders","html_url":"https://github.com/jonathanslenders","followers_url":"https://api.github.com/users/jonathanslenders/followers","following_url":"https://api.github.com/users/jonathanslenders/following{/other_user}","gists_url":"https://api.github.com/users/jonathanslenders/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanslenders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanslenders/subscriptions","organizations_url":"https://api.github.com/users/jonathanslenders/orgs","repos_url":"https://api.github.com/users/jonathanslenders/repos","events_url":"https://api.github.com/users/jonathanslenders/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanslenders/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T17:17:22Z","updated_at":"2016-08-15T17:17:22Z","body":"What version of prompt_toolkit are you using? Can you try to upgrade to the latest version and see whether it still happens? There were some improvements done in one of the latest versions.\r\n\r\nIn any case, it is encouraged to keep using the ``prompt`` shortcut. This API is guaranteed to be the most stable. If there is some delay, that is a bug.\r\n\r\n\r\n"}}
{"actor":{"display_login":"jonathanslenders"}}