{"action":"created","issue":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4488","labels_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4488/labels{/name}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4488/comments","events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4488/events","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/4488","id":111201216,"number":4488,"title":"Bug when using themes with right prompt in iTerm2","user":{"login":"JakubMatejka","id":215660,"avatar_url":"https://avatars.githubusercontent.com/u/215660?v=3","gravatar_id":"","url":"https://api.github.com/users/JakubMatejka","html_url":"https://github.com/JakubMatejka","followers_url":"https://api.github.com/users/JakubMatejka/followers","following_url":"https://api.github.com/users/JakubMatejka/following{/other_user}","gists_url":"https://api.github.com/users/JakubMatejka/gists{/gist_id}","starred_url":"https://api.github.com/users/JakubMatejka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakubMatejka/subscriptions","organizations_url":"https://api.github.com/users/JakubMatejka/orgs","repos_url":"https://api.github.com/users/JakubMatejka/repos","events_url":"https://api.github.com/users/JakubMatejka/events{/privacy}","received_events_url":"https://api.github.com/users/JakubMatejka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-10-13T15:10:31Z","updated_at":"2015-10-14T09:22:03Z","closed_at":null,"body":"The prompt is shifted three places left (and so is rewriting last three characters of the prompt) when I use any theme having some info on the right. This happens with both stable and beta version of iTerm2 on Mac (with OS X El Capitan) but not in default Mac terminal. See the screenshot (with theunraveler theme):\r\n\r\n![bug](https://cloud.githubusercontent.com/assets/215660/10427518/a973963c-70ea-11e5-91df-1056c4ebe390.png)\r\n"},"comment":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/comments/147987146","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/4488#issuecomment-147987146","issue_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4488","id":147987146,"user":{"login":"JakubMatejka","id":215660,"avatar_url":"https://avatars.githubusercontent.com/u/215660?v=3","gravatar_id":"","url":"https://api.github.com/users/JakubMatejka","html_url":"https://github.com/JakubMatejka","followers_url":"https://api.github.com/users/JakubMatejka/followers","following_url":"https://api.github.com/users/JakubMatejka/following{/other_user}","gists_url":"https://api.github.com/users/JakubMatejka/gists{/gist_id}","starred_url":"https://api.github.com/users/JakubMatejka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakubMatejka/subscriptions","organizations_url":"https://api.github.com/users/JakubMatejka/orgs","repos_url":"https://api.github.com/users/JakubMatejka/repos","events_url":"https://api.github.com/users/JakubMatejka/events{/privacy}","received_events_url":"https://api.github.com/users/JakubMatejka/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T09:22:03Z","updated_at":"2015-10-14T09:22:03Z","body":"Oh, right, that would be it. I had setting `Profiles -> Terminal -> Environment -> Set locale variables automatically` in iTerm Preferences switched off and `locale` command showed me `LC_CTYPE=\"C\"`. When I switch it on, the problem disappears (and `locale` command shows `LC_CTYPE=\"UTF-8\"`). \r\n\r\nI remember that I switched that iTerm setting off intentionally because of some problem with ssh on servers but I don't remember why anymore. ;o) Thanks."}}