aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-04-12 02:37:22 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-04-12 02:37:22 +0200
commitf00cb4ada824714c238e6f78fe5f932b1c010f00 (patch)
tree2efa0bedd4eae6549ae395dc714736da411877e7 /main.go
parentf013d67855055d7f56fb39134d988316554ca771 (diff)
Add notifications
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 9de4825..a03a67d 100644
--- a/main.go
+++ b/main.go
@@ -23,6 +23,7 @@ type Opt struct {
type stateFn func(context.Context) stateFn
func (o *Opt) display(ctx context.Context, s string) {
+ go notify(s)
dl, ok := ctx.Deadline()
if !ok {
return