rb-readline icon indicating copy to clipboard operation
rb-readline copied to clipboard

Pure-Ruby Readline Implementation

Results 50 rb-readline issues
Sort by recently updated
recently updated
newest added

The exists? method is deprecated so switch to exist?. See: https://ruby-doc.org/core-2.2.0/File.html#exist-3F-method

I'm coming from [here](https://github.com/pry/pry-rails/issues/69). I was wondering if there's a good fix in this library itself. I'm happy to make it if someone can point me in the right direction,...

This was loading lib/readline.rb only if Readline was defined and RbReadline wasn't defined. "rake test" results get garbled and can cause strange terminal state when minitest "DEPRECATED" warning are output.

The current `stty size` calls implicitly assume the device to read from is stdin, which is not overridden when `@rl_instream` is manually set to a pts device that isn't mapped...

## Summary [Readline::HISTORY.delete_at](https://github.com/ConnorAtherton/rb-readline/blob/9fba246073f78831b7c7129c76cc07d8476a8892/lib/readline.rb#L468) method not working for indices of negative values. ## Steps to Reproduce ``` irb require 'readline' Readline::HISTORY.push('a') => ["a"] Readline::HISTORY.push('b') => ["b"] Readline::HISTORY.push('c') => ["c"] >> Readline::HISTORY.delete_at(-1)...

I am trying to deploy a rails 5 app to AWS using Elastic Beanstalk but it display an error with rb-readline in the logs. > +++ export RUBY_VERSION=2.3.5 > +++...

Hello, I have a feeling I'm asking this in the wrong place, but I can't seem to find a better place to ask. In IRB, (I think it's using system...

I have a rails app that uses rb-readline. When I `rails console` in Alpine Linux it fails with error below. ``` /usr/src/app $ rails c Loading production environment (Rails 5.2.2.1)...

Alt+. inserts the last word from previous line. Simply pressing it after an empty line does not trigger this because empty lines are not added to history (at least in...

good first issue
good first issue (probably!)

JRuby appears to be able to use rb-readline just fine these days. ``` $ rake test /Users/headius/projects/jruby/bin/jruby -w -I"lib:test" -I"/Users/headius/projects/jruby/lib/ruby/gems/shared/gems/rake-12.2.1/lib" "/Users/headius/projects/jruby/lib/ruby/gems/shared/gems/rake-12.2.1/lib/rake/rake_test_loader.rb" "test/test_completion.rb" "test/test_filename_completion_proc.rb" "test/test_history.rb" "test/test_rbreadline.rb" "test/test_readline.rb" Run options: --seed 4979...