Skip to content

Commit

Permalink
Let crystal play server print a hyperlink.
Browse files Browse the repository at this point in the history
  • Loading branch information
hugopl committed Oct 13, 2024
1 parent d1c5072 commit 20d19ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/crystal/tools/playground/server.cr
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ module Crystal::Playground
@port = address.port
@host = address.address

puts "Listening on http://#{address}"
puts "Listening on \e]8;;http://#{address}\ahttp://#{address}\e]8;;\a"
if address.unspecified?
puts "WARNING running playground on #{address.address} is insecure."
end
Expand Down

0 comments on commit 20d19ac

Please sign in to comment.