danielgtaylor / nesh

An enhanced, extensible interactive shell for Node.js and CoffeeScript
http://danielgtaylor.github.io/nesh/
MIT License
288 stars 27 forks source link

Repeated reverse-i-search cause bad newlines on short terminal #29

Closed wryun closed 9 years ago

wryun commented 9 years ago

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):

(reverse-i-search)`S': Sync(function(){monitoring.configurePagerduty('my-service
(reverse-i-search)`Sy': Sync(function(){monitoring.configurePagerduty('my-servic
(reverse-i-search)`Syn': Sync(function(){monitoring.configurePagerduty('my-servi
(reverse-i-search)`Sync': Sync(function(){monitoring.configurePagerduty('my-service', 'blah@example.com')})
wryun commented 9 years ago

Err, this is from a plugin. Forgot I'd installed it. Sorry!