{"action":"created","issue":{"url":"https://api.github.com/repos/dbcli/mycli/issues/166","labels_url":"https://api.github.com/repos/dbcli/mycli/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/dbcli/mycli/issues/166/comments","events_url":"https://api.github.com/repos/dbcli/mycli/issues/166/events","html_url":"https://github.com/dbcli/mycli/pull/166","id":110752719,"number":166,"title":"Fixes #23 -- Makes \"enter\" key function as the \"tab\" key only when the completion menu is displayed.","user":{"login":"mdsrosa","id":1862239,"avatar_url":"https://avatars.githubusercontent.com/u/1862239?v=3","gravatar_id":"","url":"https://api.github.com/users/mdsrosa","html_url":"https://github.com/mdsrosa","followers_url":"https://api.github.com/users/mdsrosa/followers","following_url":"https://api.github.com/users/mdsrosa/following{/other_user}","gists_url":"https://api.github.com/users/mdsrosa/gists{/gist_id}","starred_url":"https://api.github.com/users/mdsrosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdsrosa/subscriptions","organizations_url":"https://api.github.com/users/mdsrosa/orgs","repos_url":"https://api.github.com/users/mdsrosa/repos","events_url":"https://api.github.com/users/mdsrosa/events{/privacy}","received_events_url":"https://api.github.com/users/mdsrosa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-10-09T23:37:28Z","updated_at":"2015-10-10T03:50:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dbcli/mycli/pulls/166","html_url":"https://github.com/dbcli/mycli/pull/166","diff_url":"https://github.com/dbcli/mycli/pull/166.diff","patch_url":"https://github.com/dbcli/mycli/pull/166.patch"},"body":"New users get frustrated when they select a SQL command, press `Enter` and the command gets executed. So this PR makes the enter key work like the tab, but only when the completion menu is visible.\r\n\r\nFixes #23. "},"comment":{"url":"https://api.github.com/repos/dbcli/mycli/issues/comments/147030125","html_url":"https://github.com/dbcli/mycli/pull/166#issuecomment-147030125","issue_url":"https://api.github.com/repos/dbcli/mycli/issues/166","id":147030125,"user":{"login":"tsroten","id":3047055,"avatar_url":"https://avatars.githubusercontent.com/u/3047055?v=3","gravatar_id":"","url":"https://api.github.com/users/tsroten","html_url":"https://github.com/tsroten","followers_url":"https://api.github.com/users/tsroten/followers","following_url":"https://api.github.com/users/tsroten/following{/other_user}","gists_url":"https://api.github.com/users/tsroten/gists{/gist_id}","starred_url":"https://api.github.com/users/tsroten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsroten/subscriptions","organizations_url":"https://api.github.com/users/tsroten/orgs","repos_url":"https://api.github.com/users/tsroten/repos","events_url":"https://api.github.com/users/tsroten/events{/privacy}","received_events_url":"https://api.github.com/users/tsroten/received_events","type":"User","site_admin":false},"created_at":"2015-10-10T03:50:31Z","updated_at":"2015-10-10T03:50:31Z","body":"@amjith Well, I'm pretty indifferent on the matter. It's certainly natural enough. Some hardcore CLI users might want the option because of the extra keypress they could avoid. But, I think the majority of mycli users will be happy with the change."}}