[ruby/rdoc] Use readline history when ri is interactive

https://github.com/ruby/rdoc/commit/d0074a23cc
This commit is contained in:
Adam Daniels 2022-01-13 10:06:18 -05:00 committed by git
parent 193ebc3c3a
commit 3fcab3cddf

View File

@ -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