{"action":"created","issue":{"url":"https://api.github.com/repos/mrkline/promptd/issues/4","labels_url":"https://api.github.com/repos/mrkline/promptd/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mrkline/promptd/issues/4/comments","events_url":"https://api.github.com/repos/mrkline/promptd/issues/4/events","html_url":"https://github.com/mrkline/promptd/issues/4","id":60529877,"number":4,"title":"promptd-vcs colors cause display issues in bash","user":{"login":"joelnordell","id":439499,"avatar_url":"https://avatars.githubusercontent.com/u/439499?v=3","gravatar_id":"","url":"https://api.github.com/users/joelnordell","html_url":"https://github.com/joelnordell","followers_url":"https://api.github.com/users/joelnordell/followers","following_url":"https://api.github.com/users/joelnordell/following{/other_user}","gists_url":"https://api.github.com/users/joelnordell/gists{/gist_id}","starred_url":"https://api.github.com/users/joelnordell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelnordell/subscriptions","organizations_url":"https://api.github.com/users/joelnordell/orgs","repos_url":"https://api.github.com/users/joelnordell/repos","events_url":"https://api.github.com/users/joelnordell/events{/privacy}","received_events_url":"https://api.github.com/users/joelnordell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mrkline/promptd/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"mrkline","id":493463,"avatar_url":"https://avatars.githubusercontent.com/u/493463?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkline","html_url":"https://github.com/mrkline","followers_url":"https://api.github.com/users/mrkline/followers","following_url":"https://api.github.com/users/mrkline/following{/other_user}","gists_url":"https://api.github.com/users/mrkline/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkline/subscriptions","organizations_url":"https://api.github.com/users/mrkline/orgs","repos_url":"https://api.github.com/users/mrkline/repos","events_url":"https://api.github.com/users/mrkline/events{/privacy}","received_events_url":"https://api.github.com/users/mrkline/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-03-10T16:41:21Z","updated_at":"2015-03-16T21:46:05Z","closed_at":"2015-03-16T21:45:40Z","body":"Bash uses the character length of the prompt (vs. terminal width) to decide whether to line-wrap the input.  The color codes in the `promptd-vcs` output appear to confuse bash, causing it to line-wrap too soon.  Perhaps it could escape the output in a way for bash to interpret?\r\n\r\nSee this discussion for example, which might shed some light on what would need to be done:\r\nhttp://stackoverflow.com/questions/342093/ps1-line-wrapping-with-colours-problem\r\n"},"comment":{"url":"https://api.github.com/repos/mrkline/promptd/issues/comments/81955458","html_url":"https://github.com/mrkline/promptd/issues/4#issuecomment-81955458","issue_url":"https://api.github.com/repos/mrkline/promptd/issues/4","id":81955458,"user":{"login":"mrkline","id":493463,"avatar_url":"https://avatars.githubusercontent.com/u/493463?v=3","gravatar_id":"","url":"https://api.github.com/users/mrkline","html_url":"https://github.com/mrkline","followers_url":"https://api.github.com/users/mrkline/followers","following_url":"https://api.github.com/users/mrkline/following{/other_user}","gists_url":"https://api.github.com/users/mrkline/gists{/gist_id}","starred_url":"https://api.github.com/users/mrkline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrkline/subscriptions","organizations_url":"https://api.github.com/users/mrkline/orgs","repos_url":"https://api.github.com/users/mrkline/repos","events_url":"https://api.github.com/users/mrkline/events{/privacy}","received_events_url":"https://api.github.com/users/mrkline/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T21:46:05Z","updated_at":"2015-03-16T21:46:05Z","body":"Thanks much! I'll tag a release with it shortly, FWIW."}}