We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b37aaf2 commit 2e20791Copy full SHA for 2e20791
1 file changed
lib/rdoc/rdoc.rb
@@ -507,7 +507,9 @@ def generate
507
Dir.chdir @options.op_dir do
508
unless @options.quiet then
509
$stderr.puts "\nGenerating #{@generator.class.name.sub(/^.*::/, '')} format into #{Dir.pwd}..."
510
- $stderr.puts "\nYou can visit the home page at: \e]8;;file://#{Dir.pwd}/index.html\e\\file://#{Dir.pwd}/index.html\e]8;;\e\\"
+ uri = "file://#{Dir.pwd}/index.html"
511
+ ref = $stderr.tty? ? "\e]8;;#{uri}\e\\#{uri}\e]8;;\e\\" : uri
512
+ $stderr.puts "\nYou can visit the home page at: #{ref}"
513
end
514
515
@generator.generate
0 commit comments