decentral1se 04aec8232f
Some checks failed
continuous-integration/drone/push Build is failing
chore: vendor
2024-08-04 11:06:58 +02:00

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
}