mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-07-13 15:27:25 +02:00
12 lines
305 B
Go
12 lines
305 B
Go
package termenv
|
|
|
|
// Hyperlink creates a hyperlink using OSC8.
|
|
func Hyperlink(link, name string) string {
|
|
return output.Hyperlink(link, name)
|
|
}
|
|
|
|
// Hyperlink creates a hyperlink using OSC8.
|
|
func (o *Output) Hyperlink(link, name string) string {
|
|
return OSC + "8;;" + link + ST + name + OSC + "8;;" + ST
|
|
}
|