From 51667451ec2a36b2feebe0e68f3c10c8ca20d611 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= <1224732+snonux@users.noreply.github.com> Date: Fri, 20 Jun 2025 21:34:38 +0300 Subject: Fix fireworks not appearing after quitting --- internal/ui/fireworks.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'internal') diff --git a/internal/ui/fireworks.go b/internal/ui/fireworks.go index 8442541..b95920b 100644 --- a/internal/ui/fireworks.go +++ b/internal/ui/fireworks.go @@ -29,6 +29,9 @@ func tick() tea.Cmd { func (m fwModel) Init() tea.Cmd { m.start = time.Now() + // Ignore the first key in case the exit key from the previous program + // is still buffered when the fireworks start. + m.ignoreFirstKey = true return tick() } -- cgit v1.2.3