Skip to content

Commit

Permalink
Use readline history when ri is interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
adam12 authored and hsbt committed Mar 15, 2024
1 parent 9ed530b commit d0074a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdoc/ri/driver.rb
Original file line number Diff line number Diff line change
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 d0074a2

Please sign in to comment.