{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/789","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/789/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/789/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/789/events","html_url":"https://github.com/fish-shell/fish-shell/issues/789","id":14534020,"number":789,"title":"unicode \\u23CE ⏎ character preceding every prompt in ConEmu","user":{"login":"samvasko","id":2674600,"avatar_url":"https://avatars.githubusercontent.com/u/2674600?v=3","gravatar_id":"","url":"https://api.github.com/users/samvasko","html_url":"https://github.com/samvasko","followers_url":"https://api.github.com/users/samvasko/followers","following_url":"https://api.github.com/users/samvasko/following{/other_user}","gists_url":"https://api.github.com/users/samvasko/gists{/gist_id}","starred_url":"https://api.github.com/users/samvasko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samvasko/subscriptions","organizations_url":"https://api.github.com/users/samvasko/orgs","repos_url":"https://api.github.com/users/samvasko/repos","events_url":"https://api.github.com/users/samvasko/events{/privacy}","received_events_url":"https://api.github.com/users/samvasko/received_events","type":"User","site_admin":false},"labels":[{"id":4724778,"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":402356383,"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/RFC","name":"RFC","color":"ffefe5","default":false},{"id":244034291,"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/windows","name":"windows","color":"006b75","default":false}],"state":"open","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},"assignees":[{"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":{"url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4","html_url":"https://github.com/fish-shell/fish-shell/milestone/4","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/milestones/4/labels","id":130257,"number":4,"title":"fish-future","description":"These are issues that are not targeted for an upcoming minor or major release. After a release, we will re-examine these issues and pull any in that we think are good targets; that is retarget them to the next minor (or major) release.\r\n\r\nIf you can provide a fix for an issue in this milestone, we'll generally accept it for the next release even if the issue is not targeted for the 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":376,"closed_issues":9,"state":"open","created_at":"2012-06-11T02:25:13Z","updated_at":"2016-12-17T10:41:29Z","due_on":null,"closed_at":null},"comments":47,"created_at":"2013-05-20T19:09:12Z","updated_at":"2016-12-17T14:34:38Z","closed_at":null,"body":"Everytime I run fish using ssh from cmd on windows. I get this character at the end.\n⏎\nIn cmd it just looks like crossed box. Not sure if that is bug on your side, but can you help with some workaround?\n"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/267765892","html_url":"https://github.com/fish-shell/fish-shell/issues/789#issuecomment-267765892","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/789","id":267765892,"user":{"login":"faho","id":5185367,"avatar_url":"https://avatars.githubusercontent.com/u/5185367?v=3","gravatar_id":"","url":"https://api.github.com/users/faho","html_url":"https://github.com/faho","followers_url":"https://api.github.com/users/faho/followers","following_url":"https://api.github.com/users/faho/following{/other_user}","gists_url":"https://api.github.com/users/faho/gists{/gist_id}","starred_url":"https://api.github.com/users/faho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faho/subscriptions","organizations_url":"https://api.github.com/users/faho/orgs","repos_url":"https://api.github.com/users/faho/repos","events_url":"https://api.github.com/users/faho/events{/privacy}","received_events_url":"https://api.github.com/users/faho/received_events","type":"User","site_admin":false},"created_at":"2016-12-17T14:34:38Z","updated_at":"2016-12-17T14:34:38Z","body":"The trick is in https://github.com/fish-shell/fish-shell/blob/master/src/screen.cpp#L1189-L1236, and it works like this:\r\n\r\nAfter a command has finished, before printing the prompt or anything else, we print a newline symbol (\\u23CE, unless that can't be encoded), and then (screenwidth - width of the newline symbol) spaces. If there was anything in the line, this should leave us wrapped in the next line. If there wasn't (because the last thing printed was a newline), this should leave us right at the end of it.\r\n\r\nThen we print \\r and enough spaces to overwrite the newline symbol, another \\r and the \\x1b[2K sequence to clear the line (dunno why that latter one is necessary).\r\n\r\nThere's a couple of things that can go wrong here - character (or glyph or whatever) width might be off, the screen width we get might be, or (most likely) printing more than screen width doesn't wrap to the next line.\r\n\r\nIs that enough to go on?"}}
{"actor":{"display_login":"faho"}}