forked from toolshed/abra
chore: vendor
This commit is contained in:
11
vendor/github.com/muesli/termenv/notification.go
generated
vendored
Normal file
11
vendor/github.com/muesli/termenv/notification.go
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
package termenv
|
||||
|
||||
// Notify triggers a notification using OSC777.
|
||||
func Notify(title, body string) {
|
||||
output.Notify(title, body)
|
||||
}
|
||||
|
||||
// Notify triggers a notification using OSC777.
|
||||
func (o *Output) Notify(title, body string) {
|
||||
_, _ = o.WriteString(OSC + "777;notify;" + title + ";" + body + ST)
|
||||
}
|
Reference in New Issue
Block a user