{"action":"created","issue":{"url":"https://api.github.com/repos/ConEmu/ConEmu.github.io/issues/3","labels_url":"https://api.github.com/repos/ConEmu/ConEmu.github.io/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ConEmu/ConEmu.github.io/issues/3/comments","events_url":"https://api.github.com/repos/ConEmu/ConEmu.github.io/issues/3/events","html_url":"https://github.com/ConEmu/ConEmu.github.io/pull/3","id":103904146,"number":3,"title":"Add text auto selection in pre elements","user":{"login":"rdtsc","id":6773893,"avatar_url":"https://avatars.githubusercontent.com/u/6773893?v=3","gravatar_id":"","url":"https://api.github.com/users/rdtsc","html_url":"https://github.com/rdtsc","followers_url":"https://api.github.com/users/rdtsc/followers","following_url":"https://api.github.com/users/rdtsc/following{/other_user}","gists_url":"https://api.github.com/users/rdtsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rdtsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdtsc/subscriptions","organizations_url":"https://api.github.com/users/rdtsc/orgs","repos_url":"https://api.github.com/users/rdtsc/repos","events_url":"https://api.github.com/users/rdtsc/events{/privacy}","received_events_url":"https://api.github.com/users/rdtsc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-30T06:19:10Z","updated_at":"2015-08-30T23:15:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ConEmu/ConEmu.github.io/pulls/3","html_url":"https://github.com/ConEmu/ConEmu.github.io/pull/3","diff_url":"https://github.com/ConEmu/ConEmu.github.io/pull/3.diff","patch_url":"https://github.com/ConEmu/ConEmu.github.io/pull/3.patch"},"body":"As demonstrated below, [long command samples](http://conemu.github.io/en/AutoInstall.html) can be awkward to copy & paste.\r\n\r\n![conemu-current](https://cloud.githubusercontent.com/assets/6773893/9565906/efea3ee8-4eb9-11e5-975c-090bb382bd13.gif)\r\n\r\nThis PR implements \"click-to-select\" functionality for `pre` elements for easier command copying as shown below.\r\n\r\n![conemu-proposed](https://cloud.githubusercontent.com/assets/6773893/9565913/47651a94-4eba-11e5-9a09-e22cc8223a21.gif)\r\n\r\nIn addition to implementing auto text selection, string contents are trimmed to prevent accidental trailing newline injection during single-line pasting.\r\n\r\nFurthermore, the script has been added to the master template in order to propagate this functionality site-wide and should work in browsers newer than IE8. Since ConEmu is targeted at power users, I don't think this is a problem.\r\n"},"comment":{"url":"https://api.github.com/repos/ConEmu/ConEmu.github.io/issues/comments/136216405","html_url":"https://github.com/ConEmu/ConEmu.github.io/pull/3#issuecomment-136216405","issue_url":"https://api.github.com/repos/ConEmu/ConEmu.github.io/issues/3","id":136216405,"user":{"login":"Maximus5","id":1222388,"avatar_url":"https://avatars.githubusercontent.com/u/1222388?v=3","gravatar_id":"","url":"https://api.github.com/users/Maximus5","html_url":"https://github.com/Maximus5","followers_url":"https://api.github.com/users/Maximus5/followers","following_url":"https://api.github.com/users/Maximus5/following{/other_user}","gists_url":"https://api.github.com/users/Maximus5/gists{/gist_id}","starred_url":"https://api.github.com/users/Maximus5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maximus5/subscriptions","organizations_url":"https://api.github.com/users/Maximus5/orgs","repos_url":"https://api.github.com/users/Maximus5/repos","events_url":"https://api.github.com/users/Maximus5/events{/privacy}","received_events_url":"https://api.github.com/users/Maximus5/received_events","type":"User","site_admin":false},"created_at":"2015-08-30T23:15:40Z","updated_at":"2015-08-30T23:15:40Z","body":"BTW, what tools have you used to create animations?"}}