[ruby/irb] Fix failure of more command with -R option
(https://github.com/ruby/irb/pull/781) https://github.com/ruby/irb/commit/7d6849e44e
This commit is contained in:
parent
926bfc3bc0
commit
e2078ccd5a
@ -62,7 +62,7 @@ module IRB
|
||||
pager = Shellwords.split(pager)
|
||||
next if pager.empty?
|
||||
|
||||
if pager.first == 'less' || pager.first == 'more'
|
||||
if pager.first == 'less'
|
||||
pager << '-R' unless pager.include?('-R')
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user