{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/atdt/escapes.js/pulls/13","id":191886058,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkxODg2MDU4","html_url":"https://github.com/atdt/escapes.js/pull/13","diff_url":"https://github.com/atdt/escapes.js/pull/13.diff","patch_url":"https://github.com/atdt/escapes.js/pull/13.patch","issue_url":"https://api.github.com/repos/atdt/escapes.js/issues/13","number":13,"state":"open","locked":false,"title":"Update trimCanvas function to remove trailing row","user":{"login":"feigner","id":617517,"node_id":"MDQ6VXNlcjYxNzUxNw==","avatar_url":"https://avatars0.githubusercontent.com/u/617517?v=4","gravatar_id":"","url":"https://api.github.com/users/feigner","html_url":"https://github.com/feigner","followers_url":"https://api.github.com/users/feigner/followers","following_url":"https://api.github.com/users/feigner/following{/other_user}","gists_url":"https://api.github.com/users/feigner/gists{/gist_id}","starred_url":"https://api.github.com/users/feigner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feigner/subscriptions","organizations_url":"https://api.github.com/users/feigner/orgs","repos_url":"https://api.github.com/users/feigner/repos","events_url":"https://api.github.com/users/feigner/events{/privacy}","received_events_url":"https://api.github.com/users/feigner/received_events","type":"User","site_admin":false},"body":"I ran into an issue while using this (amazing) library where there would be a blank line at the bottom of my canvas after rendering an ANSI file. In poking around the code, I was able to resolve this by decrementing the row / scrollback by one when calculating `new_height` in `trimCanvas`.","created_at":"2018-05-31T22:03:41Z","updated_at":"2018-05-31T22:03:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/atdt/escapes.js/pulls/13/commits","review_comments_url":"https://api.github.com/repos/atdt/escapes.js/pulls/13/comments","review_comment_url":"https://api.github.com/repos/atdt/escapes.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atdt/escapes.js/issues/13/comments","statuses_url":"https://api.github.com/repos/atdt/escapes.js/statuses/7fa744f11b272766a4cf8f3bf2341d72395bec8b","head":{"label":"feigner:update/off-by-one","ref":"update/off-by-one","sha":"7fa744f11b272766a4cf8f3bf2341d72395bec8b","user":{"login":"feigner","id":617517,"node_id":"MDQ6VXNlcjYxNzUxNw==","avatar_url":"https://avatars0.githubusercontent.com/u/617517?v=4","gravatar_id":"","url":"https://api.github.com/users/feigner","html_url":"https://github.com/feigner","followers_url":"https://api.github.com/users/feigner/followers","following_url":"https://api.github.com/users/feigner/following{/other_user}","gists_url":"https://api.github.com/users/feigner/gists{/gist_id}","starred_url":"https://api.github.com/users/feigner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feigner/subscriptions","organizations_url":"https://api.github.com/users/feigner/orgs","repos_url":"https://api.github.com/users/feigner/repos","events_url":"https://api.github.com/users/feigner/events{/privacy}","received_events_url":"https://api.github.com/users/feigner/received_events","type":"User","site_admin":false},"repo":{"id":124196815,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQxOTY4MTU=","name":"escapes.js","full_name":"feigner/escapes.js","owner":{"login":"feigner","id":617517,"node_id":"MDQ6VXNlcjYxNzUxNw==","avatar_url":"https://avatars0.githubusercontent.com/u/617517?v=4","gravatar_id":"","url":"https://api.github.com/users/feigner","html_url":"https://github.com/feigner","followers_url":"https://api.github.com/users/feigner/followers","following_url":"https://api.github.com/users/feigner/following{/other_user}","gists_url":"https://api.github.com/users/feigner/gists{/gist_id}","starred_url":"https://api.github.com/users/feigner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feigner/subscriptions","organizations_url":"https://api.github.com/users/feigner/orgs","repos_url":"https://api.github.com/users/feigner/repos","events_url":"https://api.github.com/users/feigner/events{/privacy}","received_events_url":"https://api.github.com/users/feigner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/feigner/escapes.js","description":"Render ANSI art using HTML5 / JavaScript","fork":true,"url":"https://api.github.com/repos/feigner/escapes.js","forks_url":"https://api.github.com/repos/feigner/escapes.js/forks","keys_url":"https://api.github.com/repos/feigner/escapes.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feigner/escapes.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feigner/escapes.js/teams","hooks_url":"https://api.github.com/repos/feigner/escapes.js/hooks","issue_events_url":"https://api.github.com/repos/feigner/escapes.js/issues/events{/number}","events_url":"https://api.github.com/repos/feigner/escapes.js/events","assignees_url":"https://api.github.com/repos/feigner/escapes.js/assignees{/user}","branches_url":"https://api.github.com/repos/feigner/escapes.js/branches{/branch}","tags_url":"https://api.github.com/repos/feigner/escapes.js/tags","blobs_url":"https://api.github.com/repos/feigner/escapes.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feigner/escapes.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feigner/escapes.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/feigner/escapes.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feigner/escapes.js/statuses/{sha}","languages_url":"https://api.github.com/repos/feigner/escapes.js/languages","stargazers_url":"https://api.github.com/repos/feigner/escapes.js/stargazers","contributors_url":"https://api.github.com/repos/feigner/escapes.js/contributors","subscribers_url":"https://api.github.com/repos/feigner/escapes.js/subscribers","subscription_url":"https://api.github.com/repos/feigner/escapes.js/subscription","commits_url":"https://api.github.com/repos/feigner/escapes.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/feigner/escapes.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/feigner/escapes.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/feigner/escapes.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/feigner/escapes.js/contents/{+path}","compare_url":"https://api.github.com/repos/feigner/escapes.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feigner/escapes.js/merges","archive_url":"https://api.github.com/repos/feigner/escapes.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feigner/escapes.js/downloads","issues_url":"https://api.github.com/repos/feigner/escapes.js/issues{/number}","pulls_url":"https://api.github.com/repos/feigner/escapes.js/pulls{/number}","milestones_url":"https://api.github.com/repos/feigner/escapes.js/milestones{/number}","notifications_url":"https://api.github.com/repos/feigner/escapes.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feigner/escapes.js/labels{/name}","releases_url":"https://api.github.com/repos/feigner/escapes.js/releases{/id}","deployments_url":"https://api.github.com/repos/feigner/escapes.js/deployments","created_at":"2018-03-07T07:30:19Z","updated_at":"2018-03-07T07:30:20Z","pushed_at":"2018-05-31T22:01:23Z","git_url":"git://github.com/feigner/escapes.js.git","ssh_url":"git@github.com:feigner/escapes.js.git","clone_url":"https://github.com/feigner/escapes.js.git","svn_url":"https://github.com/feigner/escapes.js","homepage":"http://atdt.github.com/escapes.js/","size":697,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"atdt:master","ref":"master","sha":"54404ec407e6cfda63a9da647b22a6ff55db63d4","user":{"login":"atdt","id":376462,"node_id":"MDQ6VXNlcjM3NjQ2Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/376462?v=4","gravatar_id":"","url":"https://api.github.com/users/atdt","html_url":"https://github.com/atdt","followers_url":"https://api.github.com/users/atdt/followers","following_url":"https://api.github.com/users/atdt/following{/other_user}","gists_url":"https://api.github.com/users/atdt/gists{/gist_id}","starred_url":"https://api.github.com/users/atdt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atdt/subscriptions","organizations_url":"https://api.github.com/users/atdt/orgs","repos_url":"https://api.github.com/users/atdt/repos","events_url":"https://api.github.com/users/atdt/events{/privacy}","received_events_url":"https://api.github.com/users/atdt/received_events","type":"User","site_admin":false},"repo":{"id":3151778,"node_id":"MDEwOlJlcG9zaXRvcnkzMTUxNzc4","name":"escapes.js","full_name":"atdt/escapes.js","owner":{"login":"atdt","id":376462,"node_id":"MDQ6VXNlcjM3NjQ2Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/376462?v=4","gravatar_id":"","url":"https://api.github.com/users/atdt","html_url":"https://github.com/atdt","followers_url":"https://api.github.com/users/atdt/followers","following_url":"https://api.github.com/users/atdt/following{/other_user}","gists_url":"https://api.github.com/users/atdt/gists{/gist_id}","starred_url":"https://api.github.com/users/atdt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atdt/subscriptions","organizations_url":"https://api.github.com/users/atdt/orgs","repos_url":"https://api.github.com/users/atdt/repos","events_url":"https://api.github.com/users/atdt/events{/privacy}","received_events_url":"https://api.github.com/users/atdt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/atdt/escapes.js","description":"Render ANSI art using HTML5 / JavaScript","fork":false,"url":"https://api.github.com/repos/atdt/escapes.js","forks_url":"https://api.github.com/repos/atdt/escapes.js/forks","keys_url":"https://api.github.com/repos/atdt/escapes.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atdt/escapes.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atdt/escapes.js/teams","hooks_url":"https://api.github.com/repos/atdt/escapes.js/hooks","issue_events_url":"https://api.github.com/repos/atdt/escapes.js/issues/events{/number}","events_url":"https://api.github.com/repos/atdt/escapes.js/events","assignees_url":"https://api.github.com/repos/atdt/escapes.js/assignees{/user}","branches_url":"https://api.github.com/repos/atdt/escapes.js/branches{/branch}","tags_url":"https://api.github.com/repos/atdt/escapes.js/tags","blobs_url":"https://api.github.com/repos/atdt/escapes.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atdt/escapes.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atdt/escapes.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/atdt/escapes.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atdt/escapes.js/statuses/{sha}","languages_url":"https://api.github.com/repos/atdt/escapes.js/languages","stargazers_url":"https://api.github.com/repos/atdt/escapes.js/stargazers","contributors_url":"https://api.github.com/repos/atdt/escapes.js/contributors","subscribers_url":"https://api.github.com/repos/atdt/escapes.js/subscribers","subscription_url":"https://api.github.com/repos/atdt/escapes.js/subscription","commits_url":"https://api.github.com/repos/atdt/escapes.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/atdt/escapes.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/atdt/escapes.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/atdt/escapes.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/atdt/escapes.js/contents/{+path}","compare_url":"https://api.github.com/repos/atdt/escapes.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atdt/escapes.js/merges","archive_url":"https://api.github.com/repos/atdt/escapes.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atdt/escapes.js/downloads","issues_url":"https://api.github.com/repos/atdt/escapes.js/issues{/number}","pulls_url":"https://api.github.com/repos/atdt/escapes.js/pulls{/number}","milestones_url":"https://api.github.com/repos/atdt/escapes.js/milestones{/number}","notifications_url":"https://api.github.com/repos/atdt/escapes.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atdt/escapes.js/labels{/name}","releases_url":"https://api.github.com/repos/atdt/escapes.js/releases{/id}","deployments_url":"https://api.github.com/repos/atdt/escapes.js/deployments","created_at":"2012-01-11T06:57:00Z","updated_at":"2018-05-22T18:02:43Z","pushed_at":"2017-02-03T04:14:19Z","git_url":"git://github.com/atdt/escapes.js.git","ssh_url":"git@github.com:atdt/escapes.js.git","clone_url":"https://github.com/atdt/escapes.js.git","svn_url":"https://github.com/atdt/escapes.js","homepage":"http://atdt.github.com/escapes.js/","size":697,"stargazers_count":373,"watchers_count":373,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":19,"open_issues":2,"watchers":373,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atdt/escapes.js/pulls/13"},"html":{"href":"https://github.com/atdt/escapes.js/pull/13"},"issue":{"href":"https://api.github.com/repos/atdt/escapes.js/issues/13"},"comments":{"href":"https://api.github.com/repos/atdt/escapes.js/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/atdt/escapes.js/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/atdt/escapes.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atdt/escapes.js/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/atdt/escapes.js/statuses/7fa744f11b272766a4cf8f3bf2341d72395bec8b"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"feigner"}}