{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2546","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2546/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2546/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2546/events","html_url":"https://github.com/fish-shell/fish-shell/pull/2546","id":116710862,"number":2546,"title":"make alt-L output respect multi-line prompts","user":{"login":"OwenAR","id":3036957,"avatar_url":"https://avatars.githubusercontent.com/u/3036957?v=3","gravatar_id":"","url":"https://api.github.com/users/OwenAR","html_url":"https://github.com/OwenAR","followers_url":"https://api.github.com/users/OwenAR/followers","following_url":"https://api.github.com/users/OwenAR/following{/other_user}","gists_url":"https://api.github.com/users/OwenAR/gists{/gist_id}","starred_url":"https://api.github.com/users/OwenAR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OwenAR/subscriptions","organizations_url":"https://api.github.com/users/OwenAR/orgs","repos_url":"https://api.github.com/users/OwenAR/repos","events_url":"https://api.github.com/users/OwenAR/events{/privacy}","received_events_url":"https://api.github.com/users/OwenAR/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"krader1961","id":7545917,"avatar_url":"https://avatars.githubusercontent.com/u/7545917?v=3","gravatar_id":"","url":"https://api.github.com/users/krader1961","html_url":"https://github.com/krader1961","followers_url":"https://api.github.com/users/krader1961/followers","following_url":"https://api.github.com/users/krader1961/following{/other_user}","gists_url":"https://api.github.com/users/krader1961/gists{/gist_id}","starred_url":"https://api.github.com/users/krader1961/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krader1961/subscriptions","organizations_url":"https://api.github.com/users/krader1961/orgs","repos_url":"https://api.github.com/users/krader1961/repos","events_url":"https://api.github.com/users/krader1961/events{/privacy}","received_events_url":"https://api.github.com/users/krader1961/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-11-13T06:39:28Z","updated_at":"2016-03-18T22:56:23Z","closed_at":"2016-03-18T22:56:23Z","pull_request":{"url":"https://api.github.com/repos/fish-shell/fish-shell/pulls/2546","html_url":"https://github.com/fish-shell/fish-shell/pull/2546","diff_url":"https://github.com/fish-shell/fish-shell/pull/2546.diff","patch_url":"https://github.com/fish-shell/fish-shell/pull/2546.patch"},"body":"I was playing around with multi-line prompts, and noticed that this happened when I hit alt-L:\r\n```\r\n________________________________________________________________________________0\r\no1@o1-grey-kubuntu\r\n'/home/o1'\r\n$ \r\n\r\n________________________________________________________________________________0ors/   stef-config/   traineo/      packages\r\no1@o1-grey-kubuntu/    Dropbox/     bin/               hugos/            plgen_v1.8.2/  steno-theory/  0c@           pdfscissors-offline.jnlp\r\n'/home/o1'             TESTSCRAP/   emacs-24.5/        ncp-1.2.4/        saneo/         testdir/       0sg@          xprop.txt\r\n$ sktop/               Wallpapers/  ergodox-firmware/  one/              schmozzle/     torrents/      SHADDOWN.txt  xprop2.txt\r\n```\r\n\r\nwhich should be:\r\n\r\n```\r\n________________________________________________________________________________0\r\no1@o1-grey-kubuntu\r\n'/home/o1'\r\n$\r\n\r\n0db1-wr+cs-sentences/  Downloads/   annex/             git-annex-utils/  pdfscissors/   stef-config/   traineo/      packages\r\n0db2-cs-predicates/    Dropbox/     bin/               hugos/            plgen_v1.8.2/  steno-theory/  0c@           pdfscissors-offline.jnlp\r\nAnki/                  TESTSCRAP/   emacs-24.5/        ncp-1.2.4/        saneo/         testdir/       0sg@          xprop.txt\r\nDesktop/               Wallpapers/  ergodox-firmware/  one/              schmozzle/     torrents/      SHADDOWN.txt  xprop2.txt\r\n________________________________________________________________________________0\r\no1@o1-grey-kubuntu\r\n'/home/o1'\r\n$\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/198571812","html_url":"https://github.com/fish-shell/fish-shell/pull/2546#issuecomment-198571812","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/2546","id":198571812,"user":{"login":"krader1961","id":7545917,"avatar_url":"https://avatars.githubusercontent.com/u/7545917?v=3","gravatar_id":"","url":"https://api.github.com/users/krader1961","html_url":"https://github.com/krader1961","followers_url":"https://api.github.com/users/krader1961/followers","following_url":"https://api.github.com/users/krader1961/following{/other_user}","gists_url":"https://api.github.com/users/krader1961/gists{/gist_id}","starred_url":"https://api.github.com/users/krader1961/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krader1961/subscriptions","organizations_url":"https://api.github.com/users/krader1961/orgs","repos_url":"https://api.github.com/users/krader1961/repos","events_url":"https://api.github.com/users/krader1961/events{/privacy}","received_events_url":"https://api.github.com/users/krader1961/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T22:56:22Z","updated_at":"2016-03-18T22:56:22Z","body":"Fixed via 9f0417b587ac6cec7343e287c12886adc459e01c wherein I also took the opportunity to fix the style of the function by running it through fish_indent."}}