summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
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()
}