{"action":"created","issue":{"url":"https://api.github.com/repos/bhilburn/powerlevel9k/issues/262","repository_url":"https://api.github.com/repos/bhilburn/powerlevel9k","labels_url":"https://api.github.com/repos/bhilburn/powerlevel9k/issues/262/labels{/name}","comments_url":"https://api.github.com/repos/bhilburn/powerlevel9k/issues/262/comments","events_url":"https://api.github.com/repos/bhilburn/powerlevel9k/issues/262/events","html_url":"https://github.com/bhilburn/powerlevel9k/pull/262","id":155024466,"number":262,"title":"Async right prompt","user":{"login":"andjscott","id":3648487,"avatar_url":"https://avatars.githubusercontent.com/u/3648487?v=3","gravatar_id":"","url":"https://api.github.com/users/andjscott","html_url":"https://github.com/andjscott","followers_url":"https://api.github.com/users/andjscott/followers","following_url":"https://api.github.com/users/andjscott/following{/other_user}","gists_url":"https://api.github.com/users/andjscott/gists{/gist_id}","starred_url":"https://api.github.com/users/andjscott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andjscott/subscriptions","organizations_url":"https://api.github.com/users/andjscott/orgs","repos_url":"https://api.github.com/users/andjscott/repos","events_url":"https://api.github.com/users/andjscott/events{/privacy}","received_events_url":"https://api.github.com/users/andjscott/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-16T12:58:56Z","updated_at":"2016-05-16T19:45:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bhilburn/powerlevel9k/pulls/262","html_url":"https://github.com/bhilburn/powerlevel9k/pull/262","diff_url":"https://github.com/bhilburn/powerlevel9k/pull/262.diff","patch_url":"https://github.com/bhilburn/powerlevel9k/pull/262.patch"},"body":"This could be a solution to the lag experienced in #244.\r\nAn subprocess writes the prompt to a temporary file (unique to each zsh instance) as each element is loaded. A signal is send to the parent zsh process after each write so that the RPROMPT can be set to the new value. The temporary file is deleted when the zsh exits.\r\n\r\nThe three `zle reset-prompt` were removed from the other handlers as otherwise RPROMPT was reset to empty after hitting enter. However `powerlevel9k_prepare_prompts` handles `zle reset-prompt` so this shouldn't be a problem "},"comment":{"url":"https://api.github.com/repos/bhilburn/powerlevel9k/issues/comments/219526110","html_url":"https://github.com/bhilburn/powerlevel9k/pull/262#issuecomment-219526110","issue_url":"https://api.github.com/repos/bhilburn/powerlevel9k/issues/262","id":219526110,"user":{"login":"andjscott","id":3648487,"avatar_url":"https://avatars.githubusercontent.com/u/3648487?v=3","gravatar_id":"","url":"https://api.github.com/users/andjscott","html_url":"https://github.com/andjscott","followers_url":"https://api.github.com/users/andjscott/followers","following_url":"https://api.github.com/users/andjscott/following{/other_user}","gists_url":"https://api.github.com/users/andjscott/gists{/gist_id}","starred_url":"https://api.github.com/users/andjscott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andjscott/subscriptions","organizations_url":"https://api.github.com/users/andjscott/orgs","repos_url":"https://api.github.com/users/andjscott/repos","events_url":"https://api.github.com/users/andjscott/events{/privacy}","received_events_url":"https://api.github.com/users/andjscott/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T19:45:11Z","updated_at":"2016-05-16T19:45:11Z","body":"I don't seem to be able to change the target branch of this pull so should I make a new pull request?"}}