[ruby/rdoc] Use readline history when ri is interactive
https://github.com/ruby/rdoc/commit/d0074a23cc
This commit is contained in:
parent
193ebc3c3a
commit
3fcab3cddf
@ -1088,7 +1088,7 @@ or the PAGER environment variable.
|
||||
|
||||
loop do
|
||||
name = if defined? Readline then
|
||||
Readline.readline ">> "
|
||||
Readline.readline ">> ", true
|
||||
else
|
||||
print ">> "
|
||||
$stdin.gets
|
||||
|
Loading…
x
Reference in New Issue
Block a user