diff options
| author | Paul Bütow <1224732+snonux@users.noreply.github.com> | 2025-06-20 21:35:09 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-20 21:35:09 +0300 |
| commit | 62842fe088e54f3a034c9ee4166ac684b6bb38a7 (patch) | |
| tree | 09c5684d2027572db2742e505c95b4b23daf8716 | |
| parent | 36f34fcb681bc9b1d396eaf333765892bf823f09 (diff) | |
| parent | 51667451ec2a36b2feebe0e68f3c10c8ca20d611 (diff) | |
Merge pull request #48 from snonux/codex/fix-fireworks-display-on-q-key-press
Fix fireworks not appearing on quit
| -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() } |
