trptcolin / reply

REPL-y: A fitter, happier, more productive REPL for Clojure.
Eclipse Public License 1.0
337 stars 44 forks source link

Allow setting max history size #166

Closed timmc closed 6 years ago

timmc commented 7 years ago

Currently jline defaults to a max history size of 500, which is pretty tiny. I often want to recall expressions from thousands or tens of thousands of lines back in lein repl.

Ideally jline would just pick up the .inputrc settings; I've filed https://github.com/jline/jline2/issues/277 to see if they'd take a PR on that.

I'd also be up for submitting a PR here to configure jline more explicitly from a new :repl-options key, but I'm not sure how that would interact with jline vs. rlwrap.

timmc commented 7 years ago

Oh hmm!

JLine 2.x development has come to an end, and users are encouraged to investigate the use of JLine 3.x instead.

timmc-bcov commented 6 years ago

Addressed by https://github.com/trptcolin/reply/pull/183