Skip to content

Commit

Permalink
[ruby/rdoc] Use readline history when ri is interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
adam12 authored and matzbot committed Mar 15, 2024
1 parent 193ebc3 commit 3fcab3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdoc/ri/driver.rb
Expand Up @@ -1088,7 +1088,7 @@ def interactive

loop do
name = if defined? Readline then
Readline.readline ">> "
Readline.readline ">> ", true
else
print ">> "
$stdin.gets
Expand Down

0 comments on commit 3fcab3c

Please sign in to comment.