{"action":"created","issue":{"url":"https://api.github.com/repos/HalosGhost/pbpst/issues/32","repository_url":"https://api.github.com/repos/HalosGhost/pbpst","labels_url":"https://api.github.com/repos/HalosGhost/pbpst/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/HalosGhost/pbpst/issues/32/comments","events_url":"https://api.github.com/repos/HalosGhost/pbpst/issues/32/events","html_url":"https://github.com/HalosGhost/pbpst/issues/32","id":102898925,"number":32,"title":"Stopping reading from stdin with -S requires a double Ctrl+D","user":{"login":"AladW","id":5507364,"avatar_url":"https://avatars.githubusercontent.com/u/5507364?v=3","gravatar_id":"","url":"https://api.github.com/users/AladW","html_url":"https://github.com/AladW","followers_url":"https://api.github.com/users/AladW/followers","following_url":"https://api.github.com/users/AladW/following{/other_user}","gists_url":"https://api.github.com/users/AladW/gists{/gist_id}","starred_url":"https://api.github.com/users/AladW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AladW/subscriptions","organizations_url":"https://api.github.com/users/AladW/orgs","repos_url":"https://api.github.com/users/AladW/repos","events_url":"https://api.github.com/users/AladW/events{/privacy}","received_events_url":"https://api.github.com/users/AladW/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HalosGhost/pbpst/labels/Enhancement","name":"Enhancement","color":"207de5"},{"url":"https://api.github.com/repos/HalosGhost/pbpst/labels/Patches%20Welcome","name":"Patches Welcome","color":"eeeeee"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/HalosGhost/pbpst/milestones/1","html_url":"https://github.com/HalosGhost/pbpst/milestones/1.0.0","labels_url":"https://api.github.com/repos/HalosGhost/pbpst/milestones/1/labels","id":1223166,"number":1,"title":"1.0.0","description":"This milestone will serve as the todo-list for all things which must be completed before I will consider ``pbpst`` to be wothy of a major release.","creator":{"login":"HalosGhost","id":49465,"avatar_url":"https://avatars.githubusercontent.com/u/49465?v=3","gravatar_id":"","url":"https://api.github.com/users/HalosGhost","html_url":"https://github.com/HalosGhost","followers_url":"https://api.github.com/users/HalosGhost/followers","following_url":"https://api.github.com/users/HalosGhost/following{/other_user}","gists_url":"https://api.github.com/users/HalosGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/HalosGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HalosGhost/subscriptions","organizations_url":"https://api.github.com/users/HalosGhost/orgs","repos_url":"https://api.github.com/users/HalosGhost/repos","events_url":"https://api.github.com/users/HalosGhost/events{/privacy}","received_events_url":"https://api.github.com/users/HalosGhost/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":31,"state":"open","created_at":"2015-07-24T02:41:38Z","updated_at":"2016-01-22T04:21:34Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-08-24T21:49:55Z","updated_at":"2016-02-06T18:44:40Z","closed_at":null,"body":"Tools like gist interrupt the paste with ^C, and stop reading from stdin with ^D. With pbpst, it goes like this:\r\n```\r\npbpst -S\r\nnew foo bar\r\n^D\r\n^D\r\nhttps://ptpb.pw/S5rr\r\n```\r\nAdditionally, if Enter is not pressed after \"new foo bar\", ^D is required three times to get the link."},"comment":{"url":"https://api.github.com/repos/HalosGhost/pbpst/issues/comments/180836545","html_url":"https://github.com/HalosGhost/pbpst/issues/32#issuecomment-180836545","issue_url":"https://api.github.com/repos/HalosGhost/pbpst/issues/32","id":180836545,"user":{"login":"HalosGhost","id":49465,"avatar_url":"https://avatars.githubusercontent.com/u/49465?v=3","gravatar_id":"","url":"https://api.github.com/users/HalosGhost","html_url":"https://github.com/HalosGhost","followers_url":"https://api.github.com/users/HalosGhost/followers","following_url":"https://api.github.com/users/HalosGhost/following{/other_user}","gists_url":"https://api.github.com/users/HalosGhost/gists{/gist_id}","starred_url":"https://api.github.com/users/HalosGhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HalosGhost/subscriptions","organizations_url":"https://api.github.com/users/HalosGhost/orgs","repos_url":"https://api.github.com/users/HalosGhost/repos","events_url":"https://api.github.com/users/HalosGhost/events{/privacy}","received_events_url":"https://api.github.com/users/HalosGhost/received_events","type":"User","site_admin":false},"created_at":"2016-02-06T18:44:40Z","updated_at":"2016-02-06T18:44:40Z","body":"I cannot figure out how to get around using curl's callback function and I have no idea why curl itself is having this issue.\r\n\r\nIf someone else wants to step up and fix it; patches will be welcomed."}}