diff options
Diffstat (limited to 'cmd/alarm.go')
| -rw-r--r-- | cmd/alarm.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/alarm.go b/cmd/alarm.go index 0846baa..1ba9f17 100644 --- a/cmd/alarm.go +++ b/cmd/alarm.go @@ -35,7 +35,7 @@ func cmdAlarm(cmd *cobra.Command, args []string) { drawAlarm(scr, time.Now(), alarmTime, term.BgStyle, term.FgStyle) scr.OnResize(func() bool { - drawAlarm(scr, time.Now(), alarmTime, term.BgStyle, term.FgStyle) + drawAlarm(scr, time.Now(), alarmTime, term.BgStyle, term.FgStyle) return false }) go scr.DoEventLoop() @@ -48,7 +48,7 @@ func cmdAlarm(cmd *cobra.Command, args []string) { case <-scr.QuitC: return case now := <-t.C: - drawAlarm(scr, now, alarmTime, term.BgStyle, term.FgStyle) + drawAlarm(scr, now, alarmTime, term.BgStyle, term.FgStyle) scr.Show() } } |
