diff options
| author | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-20 21:42:10 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-20 21:42:10 +0300 |
| commit | d4bf9ac060c6d64f00a06e7a54f01c61091131b5 (patch) | |
| tree | e44102f750b9f2b5e832f582a491d7de8443660c /cmd | |
| parent | d65a7be46ed619445b933d4d2842705315a5cc53 (diff) | |
| parent | 1c33a0213518eb41b1fdffa0345614c6e485006c (diff) | |
Merge pull request #52 from snonux/codex/remove-firework-on-quit-and-show-on-start
Show fireworks on start
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/tasksamurai/main.go | 5 |
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() } |
