{"action":"created","issue":{"url":"https://api.github.com/repos/chjj/blessed/issues/332","repository_url":"https://api.github.com/repos/chjj/blessed","labels_url":"https://api.github.com/repos/chjj/blessed/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/chjj/blessed/issues/332/comments","events_url":"https://api.github.com/repos/chjj/blessed/issues/332/events","html_url":"https://github.com/chjj/blessed/issues/332","id":298182599,"number":332,"title":"How to make a box receive mousedown, or, how to make a box focusable with mouse?","user":{"login":"unphased","id":1542910,"avatar_url":"https://avatars0.githubusercontent.com/u/1542910?v=4","gravatar_id":"","url":"https://api.github.com/users/unphased","html_url":"https://github.com/unphased","followers_url":"https://api.github.com/users/unphased/followers","following_url":"https://api.github.com/users/unphased/following{/other_user}","gists_url":"https://api.github.com/users/unphased/gists{/gist_id}","starred_url":"https://api.github.com/users/unphased/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unphased/subscriptions","organizations_url":"https://api.github.com/users/unphased/orgs","repos_url":"https://api.github.com/users/unphased/repos","events_url":"https://api.github.com/users/unphased/events{/privacy}","received_events_url":"https://api.github.com/users/unphased/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-19T07:30:59Z","updated_at":"2018-02-19T07:34:00Z","closed_at":"2018-02-19T07:34:00Z","author_association":"NONE","body":"It seems like something must be \"enabled\" to allow for focus to happen.\r\n\r\nFor right now i dont need to track focused state or implement (non-global) keyboard handling, but it would be nice to know how to do it.  \r\n\r\nI tried `screen.enableInput()`, setting `sendFocus` to true for the screen, and setting `sendFocus` on the boxes (which I hope to be focusable), to no avail.\r\n\r\nSimilarly if I could get `mousedown` events to start to work on boxes, that would help too. Seems related."},"comment":{"url":"https://api.github.com/repos/chjj/blessed/issues/comments/366608879","html_url":"https://github.com/chjj/blessed/issues/332#issuecomment-366608879","issue_url":"https://api.github.com/repos/chjj/blessed/issues/332","id":366608879,"user":{"login":"unphased","id":1542910,"avatar_url":"https://avatars0.githubusercontent.com/u/1542910?v=4","gravatar_id":"","url":"https://api.github.com/users/unphased","html_url":"https://github.com/unphased","followers_url":"https://api.github.com/users/unphased/followers","following_url":"https://api.github.com/users/unphased/following{/other_user}","gists_url":"https://api.github.com/users/unphased/gists{/gist_id}","starred_url":"https://api.github.com/users/unphased/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unphased/subscriptions","organizations_url":"https://api.github.com/users/unphased/orgs","repos_url":"https://api.github.com/users/unphased/repos","events_url":"https://api.github.com/users/unphased/events{/privacy}","received_events_url":"https://api.github.com/users/unphased/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T07:34:00Z","updated_at":"2018-02-19T07:34:00Z","author_association":"NONE","body":"Actually, I added a handler for `mousedown` and it works on a box! So now I will at least be able to add my own application state to manipulate colors/content and any rudimentary \"focus\" state I care to manage, if need be. Good enough for me... "}}
{"actor":{"display_login":"unphased"}}