{"action":"created","issue":{"url":"https://api.github.com/repos/9fans/plan9port/issues/121","repository_url":"https://api.github.com/repos/9fans/plan9port","labels_url":"https://api.github.com/repos/9fans/plan9port/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/9fans/plan9port/issues/121/comments","events_url":"https://api.github.com/repos/9fans/plan9port/issues/121/events","html_url":"https://github.com/9fans/plan9port/pull/121","id":270511405,"number":121,"title":"Support Mac IME","user":{"login":"pocket7878","id":236528,"avatar_url":"https://avatars1.githubusercontent.com/u/236528?v=4","gravatar_id":"","url":"https://api.github.com/users/pocket7878","html_url":"https://github.com/pocket7878","followers_url":"https://api.github.com/users/pocket7878/followers","following_url":"https://api.github.com/users/pocket7878/following{/other_user}","gists_url":"https://api.github.com/users/pocket7878/gists{/gist_id}","starred_url":"https://api.github.com/users/pocket7878/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocket7878/subscriptions","organizations_url":"https://api.github.com/users/pocket7878/orgs","repos_url":"https://api.github.com/users/pocket7878/repos","events_url":"https://api.github.com/users/pocket7878/events{/privacy}","received_events_url":"https://api.github.com/users/pocket7878/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-02T02:21:09Z","updated_at":"2018-02-06T05:10:01Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/9fans/plan9port/pulls/121","html_url":"https://github.com/9fans/plan9port/pull/121","diff_url":"https://github.com/9fans/plan9port/pull/121.diff","patch_url":"https://github.com/9fans/plan9port/pull/121.patch"},"body":"<img width=\"682\" alt=\"2017-11-04 10 37 30\" src=\"https://user-images.githubusercontent.com/236528/32401107-3926a7e8-c14c-11e7-986f-1dfbd00f85ce.png\">\r\n\r\nRoughly implemented Mac IME support to devdraw:\r\n\r\n- based on [tiancaiamao/devdraw](https://github.com/tiancaiamao/devdraw) 's Chinese IME support, and improve IME handling \r\n- Implement NSTextInputClient on devdraw's contentView.\r\n- Change keyevent buffer to linked list from ring-buffer to avoid ring-buffer overflow.\r\n\r\nCurrently supported inline translation, but it needs patching to some application(sam).\r\n~~So I'm thinking about displaying temporary input buffer on devdraw layer and send text to application after user submitted text.~~\r\n\r\n- Acme works fine (with my local Japanese IME) without any modification\r\n- Sam works with little modification to strict check Cut, Paste, Copy Kcmd\r\n<img width=\"761\" alt=\"2017-11-04 10 38 59\" src=\"https://user-images.githubusercontent.com/236528/32401133-9965b338-c14c-11e7-8c02-ead86005d645.png\">\r\n\r\n- 9term works with cooked mode.\r\n\r\n<img width=\"691\" alt=\"2017-11-04 10 41 33\" src=\"https://user-images.githubusercontent.com/236528/32401143-bea07d9a-c14c-11e7-9226-20ce4dd47c32.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/9fans/plan9port/issues/comments/363312734","html_url":"https://github.com/9fans/plan9port/pull/121#issuecomment-363312734","issue_url":"https://api.github.com/repos/9fans/plan9port/issues/121","id":363312734,"user":{"login":"lufia","id":1784379,"avatar_url":"https://avatars0.githubusercontent.com/u/1784379?v=4","gravatar_id":"","url":"https://api.github.com/users/lufia","html_url":"https://github.com/lufia","followers_url":"https://api.github.com/users/lufia/followers","following_url":"https://api.github.com/users/lufia/following{/other_user}","gists_url":"https://api.github.com/users/lufia/gists{/gist_id}","starred_url":"https://api.github.com/users/lufia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lufia/subscriptions","organizations_url":"https://api.github.com/users/lufia/orgs","repos_url":"https://api.github.com/users/lufia/repos","events_url":"https://api.github.com/users/lufia/events{/privacy}","received_events_url":"https://api.github.com/users/lufia/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T05:10:01Z","updated_at":"2018-02-06T05:10:01Z","author_association":"NONE","body":"I hope that this PR is merged to master branch."}}
{"actor":{"display_login":"lufia"}}