{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/30751","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/30751/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/30751/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/30751/events","html_url":"https://github.com/Homebrew/homebrew/issues/30751","id":37414976,"number":30751,"title":"Issue with readline 6.3.6","user":{"login":"vsbuffalo","id":160549,"avatar_url":"https://avatars.githubusercontent.com/u/160549?v=3","gravatar_id":"","url":"https://api.github.com/users/vsbuffalo","html_url":"https://github.com/vsbuffalo","followers_url":"https://api.github.com/users/vsbuffalo/followers","following_url":"https://api.github.com/users/vsbuffalo/following{/other_user}","gists_url":"https://api.github.com/users/vsbuffalo/gists{/gist_id}","starred_url":"https://api.github.com/users/vsbuffalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsbuffalo/subscriptions","organizations_url":"https://api.github.com/users/vsbuffalo/orgs","repos_url":"https://api.github.com/users/vsbuffalo/repos","events_url":"https://api.github.com/users/vsbuffalo/events{/privacy}","received_events_url":"https://api.github.com/users/vsbuffalo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/upstream%20issue","name":"upstream issue","color":"ff7722"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2014-07-08T21:45:30Z","updated_at":"2015-04-14T16:04:30Z","closed_at":null,"body":"I discovered a rather annoying bug with the the [readline 6.3.6 library](https://github.com/Homebrew/homebrew/blob/master/Library/Formula/readline.rb) — the current homebrew version. I have submitted this to the readline bug mailing list. However, given how important readline is to many Homebrew packages (R, Python, etc.) I think it would be wise to roll readline back to a past version until a patch is made. \r\n\r\nHere is the issue: in both iTerm2 and Terminal, resizing a window containing any interactive process with readline will cause text to wrap over itself on the next line. This is an incredibly irritating behavior, especially for R users that often enter long lines interactively. At first I thought this might be a shell or terminal issue, but as mentioned this happens in both terminals. Downgrading to 6.2.4 with the following (and then recompiling R and Python to use this version) solves the issue:\r\n\r\n    brew install https://raw.githubusercontent.com/Homebrew/homebrew/4237ea1c2c4c10a4c5288d11c0f0311e97f30473/Library/Formula/readline.rb\r\n\r\n\r\nI have made a video of the issue here: https://www.youtube.com/watch?v=A9tvPhehB-0\r\n"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/92935179","html_url":"https://github.com/Homebrew/homebrew/issues/30751#issuecomment-92935179","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/30751","id":92935179,"user":{"login":"vsbuffalo","id":160549,"avatar_url":"https://avatars.githubusercontent.com/u/160549?v=3","gravatar_id":"","url":"https://api.github.com/users/vsbuffalo","html_url":"https://github.com/vsbuffalo","followers_url":"https://api.github.com/users/vsbuffalo/followers","following_url":"https://api.github.com/users/vsbuffalo/following{/other_user}","gists_url":"https://api.github.com/users/vsbuffalo/gists{/gist_id}","starred_url":"https://api.github.com/users/vsbuffalo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsbuffalo/subscriptions","organizations_url":"https://api.github.com/users/vsbuffalo/orgs","repos_url":"https://api.github.com/users/vsbuffalo/repos","events_url":"https://api.github.com/users/vsbuffalo/events{/privacy}","received_events_url":"https://api.github.com/users/vsbuffalo/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T16:04:30Z","updated_at":"2015-04-14T16:04:30Z","body":"Here's an update: http://lists.gnu.org/archive/html/bug-readline/2015-04/msg00005.html\r\n\r\nand this is a great overview of what's going on: http://lists.gnu.org/archive/html/bug-readline/2015-03/msg00012.html"}}