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 committed Jan 13, 2022
1 parent eea17e0 commit 3475e16
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 @@ -1129,7 +1129,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 3475e16

Please sign in to comment.