aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/alarm.go
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-10-07 20:10:34 +0900
committernsfisis <nsfisis@gmail.com>2024-10-07 20:35:05 +0900
commit1da1b8b664cd0d7b41fd44621bb61a42ff771d69 (patch)
tree43c7f2bf9053a07ca4482d296562eba9c6cb7d5a /cmd/alarm.go
parent8490d6166249c31972adeb2de0f39b424eee7352 (diff)
downloadterm-clock-1da1b8b664cd0d7b41fd44621bb61a42ff771d69.tar.gz
term-clock-1da1b8b664cd0d7b41fd44621bb61a42ff771d69.tar.zst
term-clock-1da1b8b664cd0d7b41fd44621bb61a42ff771d69.zip
feat: update deps
Diffstat (limited to 'cmd/alarm.go')
-rw-r--r--cmd/alarm.go4
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()
}
}