{"action":"created","issue":{"url":"https://api.github.com/repos/inexorabletash/jslogo/issues/46","labels_url":"https://api.github.com/repos/inexorabletash/jslogo/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/inexorabletash/jslogo/issues/46/comments","events_url":"https://api.github.com/repos/inexorabletash/jslogo/issues/46/events","html_url":"https://github.com/inexorabletash/jslogo/pull/46","id":99348714,"number":46,"title":"Implemented `setcursor`","user":{"login":"mravery","id":1683929,"avatar_url":"https://avatars.githubusercontent.com/u/1683929?v=3","gravatar_id":"","url":"https://api.github.com/users/mravery","html_url":"https://github.com/mravery","followers_url":"https://api.github.com/users/mravery/followers","following_url":"https://api.github.com/users/mravery/following{/other_user}","gists_url":"https://api.github.com/users/mravery/gists{/gist_id}","starred_url":"https://api.github.com/users/mravery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mravery/subscriptions","organizations_url":"https://api.github.com/users/mravery/orgs","repos_url":"https://api.github.com/users/mravery/repos","events_url":"https://api.github.com/users/mravery/events{/privacy}","received_events_url":"https://api.github.com/users/mravery/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-06T04:08:53Z","updated_at":"2015-08-09T05:11:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/inexorabletash/jslogo/pulls/46","html_url":"https://github.com/inexorabletash/jslogo/pull/46","diff_url":"https://github.com/inexorabletash/jslogo/pull/46.diff","patch_url":"https://github.com/inexorabletash/jslogo/pull/46.patch"},"body":"`setcursor` allows you set a vector from which Logo will begin outputting from while preserving previous text outputs. This implementation clones new nodes based upon `#overlay` and renders them within the confines of the display context (i.e. `<canvas>`). The behavior of `cleartext` has been modified to account for this new rendering behavior.\r\n\r\nNot to sure how to write a unit test for this. Also not sure if the assumption that a passed in vector is just a two element-primitive list is the correct one."},"comment":{"url":"https://api.github.com/repos/inexorabletash/jslogo/issues/comments/129118396","html_url":"https://github.com/inexorabletash/jslogo/pull/46#issuecomment-129118396","issue_url":"https://api.github.com/repos/inexorabletash/jslogo/issues/46","id":129118396,"user":{"login":"mravery","id":1683929,"avatar_url":"https://avatars.githubusercontent.com/u/1683929?v=3","gravatar_id":"","url":"https://api.github.com/users/mravery","html_url":"https://github.com/mravery","followers_url":"https://api.github.com/users/mravery/followers","following_url":"https://api.github.com/users/mravery/following{/other_user}","gists_url":"https://api.github.com/users/mravery/gists{/gist_id}","starred_url":"https://api.github.com/users/mravery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mravery/subscriptions","organizations_url":"https://api.github.com/users/mravery/orgs","repos_url":"https://api.github.com/users/mravery/repos","events_url":"https://api.github.com/users/mravery/events{/privacy}","received_events_url":"https://api.github.com/users/mravery/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T05:11:38Z","updated_at":"2015-08-09T05:11:38Z","body":"> Re: my expectations/goals\r\n\r\nI'm hoping to use this in a Chinese teaching environment (I live in China). I like Brian Harvey's written curriculum; it is VERY dated but the beautiful thing is that all of the content is relevant even though most of the cultural references aren't. :laughing: \r\n\r\n> Use case of `setcursor`"}}