[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
|
loop do
|
||||||
name = if defined? Readline then
|
name = if defined? Readline then
|
||||||
Readline.readline ">> "
|
Readline.readline ">> ", true
|
||||||
else
|
else
|
||||||
print ">> "
|
print ">> "
|
||||||
$stdin.gets
|
$stdin.gets
|
||||||
|
Loading…
x
Reference in New Issue
Block a user