{"action":"created","issue":{"url":"https://api.github.com/repos/timcharper/evil-surround/issues/101","repository_url":"https://api.github.com/repos/timcharper/evil-surround","labels_url":"https://api.github.com/repos/timcharper/evil-surround/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/timcharper/evil-surround/issues/101/comments","events_url":"https://api.github.com/repos/timcharper/evil-surround/issues/101/events","html_url":"https://github.com/timcharper/evil-surround/issues/101","id":204887021,"number":101,"title":"[BUG] surrounding the wrong region.","user":{"login":"amosbird","id":5085485,"avatar_url":"https://avatars.githubusercontent.com/u/5085485?v=3","gravatar_id":"","url":"https://api.github.com/users/amosbird","html_url":"https://github.com/amosbird","followers_url":"https://api.github.com/users/amosbird/followers","following_url":"https://api.github.com/users/amosbird/following{/other_user}","gists_url":"https://api.github.com/users/amosbird/gists{/gist_id}","starred_url":"https://api.github.com/users/amosbird/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amosbird/subscriptions","organizations_url":"https://api.github.com/users/amosbird/orgs","repos_url":"https://api.github.com/users/amosbird/repos","events_url":"https://api.github.com/users/amosbird/events{/privacy}","received_events_url":"https://api.github.com/users/amosbird/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-02T14:21:25Z","updated_at":"2017-02-03T01:19:07Z","closed_at":null,"body":"Here is the buffer that can be used to reproduce,\r\n```\r\npackage cmd\r\n\r\nimport (\r\n\t\"github.com/elazarl/goproxy\"\r\n\t\"github.com/spf13/cobra\"\r\n\t\"log\"\r\n\t\"net/http\"\r\n)\r\n\r\n// httpCmd represents the http command\r\nvar httpCmd = &cobra.Command{\r\n\tUse:   \"http\",\r\n\tShort: \"Start an http proxy.\",\r\n\tLong:  `Start an http proxy.`,\r\n\tRun: func(cmd *cobra.Command, args []string) {\r\n\t\tproxy := goproxy.NewProxyHttpServer()\r\n\t\tproxy.Verbose = verbose\r\n\t\tlog.Fatal(http.ListenAndServe(addr, proxy))\r\n\t},\r\n}\r\n\r\nfunc init() {\r\n\tRootCmd.AddCommand(httpCmd)\r\n\thttpCmd.Flags().StringVarP(&addr, \"addr\", \"a\", \"127.0.0.1:8888\", \"proxy listening addr, <ip:port>\")\r\n\thttpCmd.Flags().BoolVarP(&verbose, \"verbose\", \"v\", false, \"verbose output.\")\r\n}\r\n```\r\n\r\nI did a terminal record to explain what happened, [asciinema](https://asciinema.org/a/e64cipvvhr263jevknjmsusxd)"},"comment":{"url":"https://api.github.com/repos/timcharper/evil-surround/issues/comments/277137799","html_url":"https://github.com/timcharper/evil-surround/issues/101#issuecomment-277137799","issue_url":"https://api.github.com/repos/timcharper/evil-surround/issues/101","id":277137799,"user":{"login":"ninrod","id":8352747,"avatar_url":"https://avatars.githubusercontent.com/u/8352747?v=3","gravatar_id":"","url":"https://api.github.com/users/ninrod","html_url":"https://github.com/ninrod","followers_url":"https://api.github.com/users/ninrod/followers","following_url":"https://api.github.com/users/ninrod/following{/other_user}","gists_url":"https://api.github.com/users/ninrod/gists{/gist_id}","starred_url":"https://api.github.com/users/ninrod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninrod/subscriptions","organizations_url":"https://api.github.com/users/ninrod/orgs","repos_url":"https://api.github.com/users/ninrod/repos","events_url":"https://api.github.com/users/ninrod/events{/privacy}","received_events_url":"https://api.github.com/users/ninrod/received_events","type":"User","site_admin":false},"created_at":"2017-02-03T01:19:07Z","updated_at":"2017-02-03T01:19:07Z","body":"you mean `ci\"`?\r\n\r\nI just opened a buffer with your repro text and was not able to reproduce."}}
{"actor":{"display_login":"ninrod"}}