feat: initial commit
This commit is contained in:
commit
a161b86c9a
705 changed files with 288162 additions and 0 deletions
11
vendor/github.com/muesli/termenv/hyperlink.go
generated
vendored
Normal file
11
vendor/github.com/muesli/termenv/hyperlink.go
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue