diff options
| -rw-r--r-- | internal/ui/fireworks.go | 3 |
1 files changed, 3 insertions, 0 deletions
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() } |
