{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/ansi-escapes/issues/1","labels_url":"https://api.github.com/repos/sindresorhus/ansi-escapes/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/ansi-escapes/issues/1/comments","events_url":"https://api.github.com/repos/sindresorhus/ansi-escapes/issues/1/events","html_url":"https://github.com/sindresorhus/ansi-escapes/issues/1","id":125796508,"number":1,"title":"Make cursor position a little more cross platform.","user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-10T03:23:42Z","updated_at":"2016-01-11T00:25:48Z","closed_at":null,"body":"`cursorSavePosition`, and `cursorRestorePosition` to not work at all on OSX.\r\n\r\nThe following appears to:\r\n\r\n```js\r\nvar ESC = '\\u001b';\r\nvar STORE = ESC + '7';\r\nvar RESTORE = ESC + '8';\r\n```\r\n\r\nSource:\r\n http://stackoverflow.com/questions/25879183/can-terminal-app-be-made-to-respect-ansi-escape-codes\r\n\r\nI am not sure what the differences are, but it's worth exploring."},"comment":{"url":"https://api.github.com/repos/sindresorhus/ansi-escapes/issues/comments/170409578","html_url":"https://github.com/sindresorhus/ansi-escapes/issues/1#issuecomment-170409578","issue_url":"https://api.github.com/repos/sindresorhus/ansi-escapes/issues/1","id":170409578,"user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T00:25:48Z","updated_at":"2016-01-11T00:25:48Z","body":"Note that `ESC` in this case doesn't have the trailing `[`. I think the trailing `[` technically makes it a `CSI` character sequence. (My entire education on the topic comes from wikipedia, so take with a grain of salt).\r\n\r\n"}}