{"action":"opened","number":31,"pull_request":{"url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/pulls/31","id":50624390,"html_url":"https://github.com/AnthonyDiGirolamo/todotxt-machine/pull/31","diff_url":"https://github.com/AnthonyDiGirolamo/todotxt-machine/pull/31.diff","patch_url":"https://github.com/AnthonyDiGirolamo/todotxt-machine/pull/31.patch","issue_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/issues/31","number":31,"state":"open","locked":false,"title":"implement edit-home and edit-end actions directly","user":{"login":"ojdo","id":3525666,"avatar_url":"https://avatars.githubusercontent.com/u/3525666?v=3","gravatar_id":"","url":"https://api.github.com/users/ojdo","html_url":"https://github.com/ojdo","followers_url":"https://api.github.com/users/ojdo/followers","following_url":"https://api.github.com/users/ojdo/following{/other_user}","gists_url":"https://api.github.com/users/ojdo/gists{/gist_id}","starred_url":"https://api.github.com/users/ojdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojdo/subscriptions","organizations_url":"https://api.github.com/users/ojdo/orgs","repos_url":"https://api.github.com/users/ojdo/repos","events_url":"https://api.github.com/users/ojdo/events{/privacy}","received_events_url":"https://api.github.com/users/ojdo/received_events","type":"User","site_admin":false},"body":"I just hacked around a bit and that did the trick. I'm not sure about the `len() - 1`, but it works for me.","created_at":"2015-11-13T10:18:19Z","updated_at":"2015-11-13T10:18:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/pulls/31/commits","review_comments_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/pulls/31/comments","review_comment_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/issues/31/comments","statuses_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/statuses/b6a689a062aae0c34d83866e053b75b3d2b2368e","head":{"label":"ojdo:fix30-home-end-keys","ref":"fix30-home-end-keys","sha":"b6a689a062aae0c34d83866e053b75b3d2b2368e","user":{"login":"ojdo","id":3525666,"avatar_url":"https://avatars.githubusercontent.com/u/3525666?v=3","gravatar_id":"","url":"https://api.github.com/users/ojdo","html_url":"https://github.com/ojdo","followers_url":"https://api.github.com/users/ojdo/followers","following_url":"https://api.github.com/users/ojdo/following{/other_user}","gists_url":"https://api.github.com/users/ojdo/gists{/gist_id}","starred_url":"https://api.github.com/users/ojdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojdo/subscriptions","organizations_url":"https://api.github.com/users/ojdo/orgs","repos_url":"https://api.github.com/users/ojdo/repos","events_url":"https://api.github.com/users/ojdo/events{/privacy}","received_events_url":"https://api.github.com/users/ojdo/received_events","type":"User","site_admin":false},"repo":{"id":46114903,"name":"todotxt-machine","full_name":"ojdo/todotxt-machine","owner":{"login":"ojdo","id":3525666,"avatar_url":"https://avatars.githubusercontent.com/u/3525666?v=3","gravatar_id":"","url":"https://api.github.com/users/ojdo","html_url":"https://github.com/ojdo","followers_url":"https://api.github.com/users/ojdo/followers","following_url":"https://api.github.com/users/ojdo/following{/other_user}","gists_url":"https://api.github.com/users/ojdo/gists{/gist_id}","starred_url":"https://api.github.com/users/ojdo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ojdo/subscriptions","organizations_url":"https://api.github.com/users/ojdo/orgs","repos_url":"https://api.github.com/users/ojdo/repos","events_url":"https://api.github.com/users/ojdo/events{/privacy}","received_events_url":"https://api.github.com/users/ojdo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ojdo/todotxt-machine","description":"an interactive terminal based todo.txt file editor with an interface similar to mutt","fork":true,"url":"https://api.github.com/repos/ojdo/todotxt-machine","forks_url":"https://api.github.com/repos/ojdo/todotxt-machine/forks","keys_url":"https://api.github.com/repos/ojdo/todotxt-machine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ojdo/todotxt-machine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ojdo/todotxt-machine/teams","hooks_url":"https://api.github.com/repos/ojdo/todotxt-machine/hooks","issue_events_url":"https://api.github.com/repos/ojdo/todotxt-machine/issues/events{/number}","events_url":"https://api.github.com/repos/ojdo/todotxt-machine/events","assignees_url":"https://api.github.com/repos/ojdo/todotxt-machine/assignees{/user}","branches_url":"https://api.github.com/repos/ojdo/todotxt-machine/branches{/branch}","tags_url":"https://api.github.com/repos/ojdo/todotxt-machine/tags","blobs_url":"https://api.github.com/repos/ojdo/todotxt-machine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ojdo/todotxt-machine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ojdo/todotxt-machine/git/refs{/sha}","trees_url":"https://api.github.com/repos/ojdo/todotxt-machine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ojdo/todotxt-machine/statuses/{sha}","languages_url":"https://api.github.com/repos/ojdo/todotxt-machine/languages","stargazers_url":"https://api.github.com/repos/ojdo/todotxt-machine/stargazers","contributors_url":"https://api.github.com/repos/ojdo/todotxt-machine/contributors","subscribers_url":"https://api.github.com/repos/ojdo/todotxt-machine/subscribers","subscription_url":"https://api.github.com/repos/ojdo/todotxt-machine/subscription","commits_url":"https://api.github.com/repos/ojdo/todotxt-machine/commits{/sha}","git_commits_url":"https://api.github.com/repos/ojdo/todotxt-machine/git/commits{/sha}","comments_url":"https://api.github.com/repos/ojdo/todotxt-machine/comments{/number}","issue_comment_url":"https://api.github.com/repos/ojdo/todotxt-machine/issues/comments{/number}","contents_url":"https://api.github.com/repos/ojdo/todotxt-machine/contents/{+path}","compare_url":"https://api.github.com/repos/ojdo/todotxt-machine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ojdo/todotxt-machine/merges","archive_url":"https://api.github.com/repos/ojdo/todotxt-machine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ojdo/todotxt-machine/downloads","issues_url":"https://api.github.com/repos/ojdo/todotxt-machine/issues{/number}","pulls_url":"https://api.github.com/repos/ojdo/todotxt-machine/pulls{/number}","milestones_url":"https://api.github.com/repos/ojdo/todotxt-machine/milestones{/number}","notifications_url":"https://api.github.com/repos/ojdo/todotxt-machine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ojdo/todotxt-machine/labels{/name}","releases_url":"https://api.github.com/repos/ojdo/todotxt-machine/releases{/id}","created_at":"2015-11-13T10:14:46Z","updated_at":"2015-11-13T10:14:47Z","pushed_at":"2015-11-13T10:16:40Z","git_url":"git://github.com/ojdo/todotxt-machine.git","ssh_url":"git@github.com:ojdo/todotxt-machine.git","clone_url":"https://github.com/ojdo/todotxt-machine.git","svn_url":"https://github.com/ojdo/todotxt-machine","homepage":"https://pypi.python.org/pypi/todotxt-machine/","size":4900,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AnthonyDiGirolamo:master","ref":"master","sha":"df9b829fdc71c5e34a2b7d5efd2c3661cfba720c","user":{"login":"AnthonyDiGirolamo","id":37681,"avatar_url":"https://avatars.githubusercontent.com/u/37681?v=3","gravatar_id":"","url":"https://api.github.com/users/AnthonyDiGirolamo","html_url":"https://github.com/AnthonyDiGirolamo","followers_url":"https://api.github.com/users/AnthonyDiGirolamo/followers","following_url":"https://api.github.com/users/AnthonyDiGirolamo/following{/other_user}","gists_url":"https://api.github.com/users/AnthonyDiGirolamo/gists{/gist_id}","starred_url":"https://api.github.com/users/AnthonyDiGirolamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnthonyDiGirolamo/subscriptions","organizations_url":"https://api.github.com/users/AnthonyDiGirolamo/orgs","repos_url":"https://api.github.com/users/AnthonyDiGirolamo/repos","events_url":"https://api.github.com/users/AnthonyDiGirolamo/events{/privacy}","received_events_url":"https://api.github.com/users/AnthonyDiGirolamo/received_events","type":"User","site_admin":false},"repo":{"id":13669219,"name":"todotxt-machine","full_name":"AnthonyDiGirolamo/todotxt-machine","owner":{"login":"AnthonyDiGirolamo","id":37681,"avatar_url":"https://avatars.githubusercontent.com/u/37681?v=3","gravatar_id":"","url":"https://api.github.com/users/AnthonyDiGirolamo","html_url":"https://github.com/AnthonyDiGirolamo","followers_url":"https://api.github.com/users/AnthonyDiGirolamo/followers","following_url":"https://api.github.com/users/AnthonyDiGirolamo/following{/other_user}","gists_url":"https://api.github.com/users/AnthonyDiGirolamo/gists{/gist_id}","starred_url":"https://api.github.com/users/AnthonyDiGirolamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnthonyDiGirolamo/subscriptions","organizations_url":"https://api.github.com/users/AnthonyDiGirolamo/orgs","repos_url":"https://api.github.com/users/AnthonyDiGirolamo/repos","events_url":"https://api.github.com/users/AnthonyDiGirolamo/events{/privacy}","received_events_url":"https://api.github.com/users/AnthonyDiGirolamo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AnthonyDiGirolamo/todotxt-machine","description":"an interactive terminal based todo.txt file editor with an interface similar to mutt","fork":false,"url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine","forks_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/forks","keys_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/teams","hooks_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/hooks","issue_events_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/issues/events{/number}","events_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/events","assignees_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/assignees{/user}","branches_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/branches{/branch}","tags_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/tags","blobs_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/git/refs{/sha}","trees_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/statuses/{sha}","languages_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/languages","stargazers_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/stargazers","contributors_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/contributors","subscribers_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/subscribers","subscription_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/subscription","commits_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/commits{/sha}","git_commits_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/git/commits{/sha}","comments_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/comments{/number}","issue_comment_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/issues/comments{/number}","contents_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/contents/{+path}","compare_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/merges","archive_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/downloads","issues_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/issues{/number}","pulls_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/pulls{/number}","milestones_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/milestones{/number}","notifications_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/labels{/name}","releases_url":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/releases{/id}","created_at":"2013-10-18T04:45:36Z","updated_at":"2015-11-12T15:43:07Z","pushed_at":"2015-09-01T04:34:25Z","git_url":"git://github.com/AnthonyDiGirolamo/todotxt-machine.git","ssh_url":"git@github.com:AnthonyDiGirolamo/todotxt-machine.git","clone_url":"https://github.com/AnthonyDiGirolamo/todotxt-machine.git","svn_url":"https://github.com/AnthonyDiGirolamo/todotxt-machine","homepage":"https://pypi.python.org/pypi/todotxt-machine/","size":4900,"stargazers_count":71,"watchers_count":71,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":11,"forks":16,"open_issues":11,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/pulls/31"},"html":{"href":"https://github.com/AnthonyDiGirolamo/todotxt-machine/pull/31"},"issue":{"href":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/issues/31"},"comments":{"href":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/AnthonyDiGirolamo/todotxt-machine/statuses/b6a689a062aae0c34d83866e053b75b3d2b2368e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}