{"action":"closed","issue":{"url":"https://api.github.com/repos/danielgtaylor/nesh/issues/29","labels_url":"https://api.github.com/repos/danielgtaylor/nesh/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/danielgtaylor/nesh/issues/29/comments","events_url":"https://api.github.com/repos/danielgtaylor/nesh/issues/29/events","html_url":"https://github.com/danielgtaylor/nesh/issues/29","id":56975684,"number":29,"title":"Repeated reverse-i-search cause bad newlines on short terminal","user":{"login":"wryun","id":81507,"avatar_url":"https://avatars.githubusercontent.com/u/81507?v=3","gravatar_id":"","url":"https://api.github.com/users/wryun","html_url":"https://github.com/wryun","followers_url":"https://api.github.com/users/wryun/followers","following_url":"https://api.github.com/users/wryun/following{/other_user}","gists_url":"https://api.github.com/users/wryun/gists{/gist_id}","starred_url":"https://api.github.com/users/wryun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wryun/subscriptions","organizations_url":"https://api.github.com/users/wryun/orgs","repos_url":"https://api.github.com/users/wryun/repos","events_url":"https://api.github.com/users/wryun/events{/privacy}","received_events_url":"https://api.github.com/users/wryun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-09T00:16:33Z","updated_at":"2015-02-10T06:57:32Z","closed_at":"2015-02-10T06:57:32Z","body":"If I search back through my history and the line length is too long, it wraps around and isn't correctly replaced by the next search result. e.g. (typing Sync):\r\n\r\n```\r\n(reverse-i-search)`S': Sync(function(){monitoring.configurePagerduty('my-service\r\n(reverse-i-search)`Sy': Sync(function(){monitoring.configurePagerduty('my-servic\r\n(reverse-i-search)`Syn': Sync(function(){monitoring.configurePagerduty('my-servi\r\n(reverse-i-search)`Sync': Sync(function(){monitoring.configurePagerduty('my-service', 'blah@example.com')})\r\n```"}}