{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2003","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2003/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2003/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2003/events","html_url":"https://github.com/fish-shell/fish-shell/issues/2003","id":65002929,"number":2003,"title":"Multi-line prompts are repeating on random keypress","user":{"login":"Nuclearfossil","id":398853,"avatar_url":"https://avatars.githubusercontent.com/u/398853?v=3","gravatar_id":"","url":"https://api.github.com/users/Nuclearfossil","html_url":"https://github.com/Nuclearfossil","followers_url":"https://api.github.com/users/Nuclearfossil/followers","following_url":"https://api.github.com/users/Nuclearfossil/following{/other_user}","gists_url":"https://api.github.com/users/Nuclearfossil/gists{/gist_id}","starred_url":"https://api.github.com/users/Nuclearfossil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nuclearfossil/subscriptions","organizations_url":"https://api.github.com/users/Nuclearfossil/orgs","repos_url":"https://api.github.com/users/Nuclearfossil/repos","events_url":"https://api.github.com/users/Nuclearfossil/events{/privacy}","received_events_url":"https://api.github.com/users/Nuclearfossil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/7","html_url":"https://github.com/fish-shell/fish-shell/milestones/next-major","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/7/labels","id":339734,"number":7,"title":"next-major","description":"Fixes for the next major release.\r\n\r\nFixes that break backward compatibility must be targeted to this release.","creator":{"login":"ridiculousfish","id":920838,"avatar_url":"https://avatars.githubusercontent.com/u/920838?v=3","gravatar_id":"","url":"https://api.github.com/users/ridiculousfish","html_url":"https://github.com/ridiculousfish","followers_url":"https://api.github.com/users/ridiculousfish/followers","following_url":"https://api.github.com/users/ridiculousfish/following{/other_user}","gists_url":"https://api.github.com/users/ridiculousfish/gists{/gist_id}","starred_url":"https://api.github.com/users/ridiculousfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ridiculousfish/subscriptions","organizations_url":"https://api.github.com/users/ridiculousfish/orgs","repos_url":"https://api.github.com/users/ridiculousfish/repos","events_url":"https://api.github.com/users/ridiculousfish/events{/privacy}","received_events_url":"https://api.github.com/users/ridiculousfish/received_events","type":"User","site_admin":false},"open_issues":71,"closed_issues":0,"state":"open","created_at":"2013-05-22T20:34:40Z","updated_at":"2015-04-12T02:27:43Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-03-28T23:42:54Z","updated_at":"2015-04-21T06:53:30Z","closed_at":null,"body":"running fish on cygwin and mintty (or ConEmu2) on Windows 7\r\n\r\nWith the following prompt script:\r\nfunction fish_prompt\r\n   set_color yellow\r\n   printf '%s' (whoami)\r\n   set_color normal\r\n   printf ' at '\r\n\r\n   set_color magenta\r\n   printf '%s' (hostname|cut -d . -f 1)\r\n   set_color normal\r\n   printf ' in '\r\n\r\n   set_color $fish_color_cwd\r\n   printf '%s' (prompt_pwd)\r\n   set_color normal\r\n\r\n   # Line 2\r\n   if test $VIRTUAL_ENV\r\n       printf \"(%s) \" (set_color blue)(basename $VIRTUAL_ENV)(set_color normal)\r\n   end\r\n   set_color normal\r\n   printf \"\\n>\"\r\nend\r\n\r\nduring random intervals, the shell re-dispalys the prompt, like so:\r\n\r\nAsh at Ash-PC in ~\r\nAsh at Ash-PC in ~\r\nAsh at Ash-PC in ~\r\nAsh at Ash-PC in ~\r\nAsh at Ash-PC in ~\r\nAsh at Ash-PC in ~\r\nAsh at Ash-PC in ~\r\n>ls -alh\r\n\r\nTo be clear, on each character of the command, we get a new line added above the command.\r\n"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/94655929","html_url":"https://github.com/fish-shell/fish-shell/issues/2003#issuecomment-94655929","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2003","id":94655929,"user":{"login":"valakyr","id":1423036,"avatar_url":"https://avatars.githubusercontent.com/u/1423036?v=3","gravatar_id":"","url":"https://api.github.com/users/valakyr","html_url":"https://github.com/valakyr","followers_url":"https://api.github.com/users/valakyr/followers","following_url":"https://api.github.com/users/valakyr/following{/other_user}","gists_url":"https://api.github.com/users/valakyr/gists{/gist_id}","starred_url":"https://api.github.com/users/valakyr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valakyr/subscriptions","organizations_url":"https://api.github.com/users/valakyr/orgs","repos_url":"https://api.github.com/users/valakyr/repos","events_url":"https://api.github.com/users/valakyr/events{/privacy}","received_events_url":"https://api.github.com/users/valakyr/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T06:53:30Z","updated_at":"2015-04-21T06:53:30Z","body":"I'm experiencing this issue too and my 7 month old question on [superuser](http://superuser.com/questions/811882/cygwin-fish-mutiline-prompt) still doesn't have an answer."}}