{"action":"created","issue":{"url":"https://api.github.com/repos/DavidGriffith/frotz/issues/37","repository_url":"https://api.github.com/repos/DavidGriffith/frotz","labels_url":"https://api.github.com/repos/DavidGriffith/frotz/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/DavidGriffith/frotz/issues/37/comments","events_url":"https://api.github.com/repos/DavidGriffith/frotz/issues/37/events","html_url":"https://github.com/DavidGriffith/frotz/issues/37","id":208085271,"number":37,"title":"Decide how Ctrl-C should be handled","user":{"login":"DavidGriffith","id":1289035,"avatar_url":"https://avatars3.githubusercontent.com/u/1289035?v=4","gravatar_id":"","url":"https://api.github.com/users/DavidGriffith","html_url":"https://github.com/DavidGriffith","followers_url":"https://api.github.com/users/DavidGriffith/followers","following_url":"https://api.github.com/users/DavidGriffith/following{/other_user}","gists_url":"https://api.github.com/users/DavidGriffith/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidGriffith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidGriffith/subscriptions","organizations_url":"https://api.github.com/users/DavidGriffith/orgs","repos_url":"https://api.github.com/users/DavidGriffith/repos","events_url":"https://api.github.com/users/DavidGriffith/events{/privacy}","received_events_url":"https://api.github.com/users/DavidGriffith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/DavidGriffith/frotz/milestones/2","html_url":"https://github.com/DavidGriffith/frotz/milestone/2","labels_url":"https://api.github.com/repos/DavidGriffith/frotz/milestones/2/labels","id":2327164,"number":2,"title":"Pre-2.45 cleanup","description":"Once Merge ao-curses is complete, I can move on to assorted problems that don't affect audio, but need to be completed before version 2.45 can be released.","creator":{"login":"DavidGriffith","id":1289035,"avatar_url":"https://avatars3.githubusercontent.com/u/1289035?v=4","gravatar_id":"","url":"https://api.github.com/users/DavidGriffith","html_url":"https://github.com/DavidGriffith","followers_url":"https://api.github.com/users/DavidGriffith/followers","following_url":"https://api.github.com/users/DavidGriffith/following{/other_user}","gists_url":"https://api.github.com/users/DavidGriffith/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidGriffith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidGriffith/subscriptions","organizations_url":"https://api.github.com/users/DavidGriffith/orgs","repos_url":"https://api.github.com/users/DavidGriffith/repos","events_url":"https://api.github.com/users/DavidGriffith/events{/privacy}","received_events_url":"https://api.github.com/users/DavidGriffith/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":4,"state":"open","created_at":"2017-02-16T10:21:47Z","updated_at":"2018-01-24T22:03:34Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-02-16T10:46:36Z","updated_at":"2018-02-09T05:15:19Z","closed_at":null,"author_association":"OWNER","body":"All this time, Ctrl-C caused Frotz to immediately and cleanly exit.  This behavior is expected for command-line programs, but not necessarily so for full-screen programs.  I have often found myself thinking in terms of a shell prompt.  There, Ctrl-C will abort the line currently being typed.  Perhaps that should be what Ctrl-C does in Frotz.  Ctrl-Q seems like a much better choice for an immediate exit.\r\n\r\nI'll need to fiddle around in src/curses/ux_init.c in os_init_screen() to tame raw mode.  Why is it in cbreak mode?"},"comment":{"url":"https://api.github.com/repos/DavidGriffith/frotz/issues/comments/364337430","html_url":"https://github.com/DavidGriffith/frotz/issues/37#issuecomment-364337430","issue_url":"https://api.github.com/repos/DavidGriffith/frotz/issues/37","id":364337430,"user":{"login":"escondida","id":1050933,"avatar_url":"https://avatars1.githubusercontent.com/u/1050933?v=4","gravatar_id":"","url":"https://api.github.com/users/escondida","html_url":"https://github.com/escondida","followers_url":"https://api.github.com/users/escondida/followers","following_url":"https://api.github.com/users/escondida/following{/other_user}","gists_url":"https://api.github.com/users/escondida/gists{/gist_id}","starred_url":"https://api.github.com/users/escondida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/escondida/subscriptions","organizations_url":"https://api.github.com/users/escondida/orgs","repos_url":"https://api.github.com/users/escondida/repos","events_url":"https://api.github.com/users/escondida/events{/privacy}","received_events_url":"https://api.github.com/users/escondida/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T05:15:19Z","updated_at":"2018-02-09T05:15:19Z","author_association":"CONTRIBUTOR","body":"Perhaps a better option would be to simply quit gracefully on SIGINT, which is the signal that ^C conventionally sends. That way, you don't need to care what specific keybinding they're using--the signal is what's important. Then, you could still add ^Q as an unconditional quit without getting rid of the traditional behavior."}}
{"actor":{"display_login":"escondida"}}