summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPaul Bütow <1224732+snonux@users.noreply.github.com>2025-06-20 21:41:33 +0300
committerPaul Bütow <1224732+snonux@users.noreply.github.com>2025-06-20 21:41:33 +0300
commit1c33a0213518eb41b1fdffa0345614c6e485006c (patch)
treec4372f5e1482261cf06bbd1c8e1dd8b3ff118f2c /cmd
parentf857a5fc9790b3841ab3f43020f755021a4c0003 (diff)
Show fireworks on startup
Diffstat (limited to 'cmd')
-rw-r--r--cmd/tasksamurai/main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd/tasksamurai/main.go b/cmd/tasksamurai/main.go
index a9d1837..3e2f3ef 100644
--- a/cmd/tasksamurai/main.go
+++ b/cmd/tasksamurai/main.go
@@ -26,6 +26,9 @@ func main() {
os.Exit(1)
}
+ // Show some fireworks on startup.
+ ui.Fireworks()
+
// Clear the screen before starting the TUI to avoid leaving any
// previous command line artefacts behind.
fmt.Print("\033[H\033[2J")
@@ -35,6 +38,4 @@ func main() {
fmt.Fprintln(os.Stderr, "error running ui:", err)
os.Exit(1)
}
-
- ui.Fireworks()
}