{"action":"created","issue":{"url":"https://api.github.com/repos/dbcli/pgcli/issues/432","repository_url":"https://api.github.com/repos/dbcli/pgcli","labels_url":"https://api.github.com/repos/dbcli/pgcli/issues/432/labels{/name}","comments_url":"https://api.github.com/repos/dbcli/pgcli/issues/432/comments","events_url":"https://api.github.com/repos/dbcli/pgcli/issues/432/events","html_url":"https://github.com/dbcli/pgcli/issues/432","id":122727275,"node_id":"MDU6SXNzdWUxMjI3MjcyNzU=","number":432,"title":"Copy-paste mode?","user":{"login":"d33tah","id":295322,"node_id":"MDQ6VXNlcjI5NTMyMg==","avatar_url":"https://avatars3.githubusercontent.com/u/295322?v=4","gravatar_id":"","url":"https://api.github.com/users/d33tah","html_url":"https://github.com/d33tah","followers_url":"https://api.github.com/users/d33tah/followers","following_url":"https://api.github.com/users/d33tah/following{/other_user}","gists_url":"https://api.github.com/users/d33tah/gists{/gist_id}","starred_url":"https://api.github.com/users/d33tah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d33tah/subscriptions","organizations_url":"https://api.github.com/users/d33tah/orgs","repos_url":"https://api.github.com/users/d33tah/repos","events_url":"https://api.github.com/users/d33tah/events{/privacy}","received_events_url":"https://api.github.com/users/d33tah/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2015-12-17T12:40:31Z","updated_at":"2018-07-03T15:52:14Z","closed_at":"2016-06-29T03:20:44Z","author_association":"CONTRIBUTOR","body":"I noticed that copy-pasting long, preformatted queries adds indentation that makes it less readable. Perhaps it would be useful to have some copy-paste detection similar to what Irssi or Weechat does that:\n1. Detects multiple lines entered at a quick burst,\n2. Asks the user for confirmation on whether he actually meant to paste,\n3. Disables indentation for input lines.\n\nWhat do you think about that?\n"},"comment":{"url":"https://api.github.com/repos/dbcli/pgcli/issues/comments/402205315","html_url":"https://github.com/dbcli/pgcli/issues/432#issuecomment-402205315","issue_url":"https://api.github.com/repos/dbcli/pgcli/issues/432","id":402205315,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjIwNTMxNQ==","user":{"login":"saml","id":8481,"node_id":"MDQ6VXNlcjg0ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/8481?v=4","gravatar_id":"","url":"https://api.github.com/users/saml","html_url":"https://github.com/saml","followers_url":"https://api.github.com/users/saml/followers","following_url":"https://api.github.com/users/saml/following{/other_user}","gists_url":"https://api.github.com/users/saml/gists{/gist_id}","starred_url":"https://api.github.com/users/saml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saml/subscriptions","organizations_url":"https://api.github.com/users/saml/orgs","repos_url":"https://api.github.com/users/saml/repos","events_url":"https://api.github.com/users/saml/events{/privacy}","received_events_url":"https://api.github.com/users/saml/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T15:52:14Z","updated_at":"2018-07-03T15:52:14Z","author_association":"NONE","body":"How can I copy a long wrapped query from pgcli so that I can paste it to other program (such as text editor)?\r\n"}}
{"actor":{"display_login":"saml"}}