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/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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue