truffleruby icon indicating copy to clipboard operation
truffleruby copied to clipboard

Switch to Reline backend for readline

Open eregon opened this issue 2 years ago • 0 comments

Following the logic of https://github.com/ruby/readline/blob/master/lib/readline.rb We have that file at https://github.com/oracle/truffleruby/blob/master/lib/mri/readline.rb But we also have https://github.com/oracle/truffleruby/blob/master/lib/truffle/readline.rb and that's earlier in $LOAD_PATH.

So we should try to just remove the JLine backend for readline entirely (and we don't have to maintain it anymore) and it should just work by using Reline.

Related: https://bugs.ruby-lang.org/issues/19616

eregon avatar Apr 25 '23 17:04 eregon