[GH-ISSUE #590] Pressing Enter before a screen has loaded crashes the application #243

Closed
opened 2026-02-28 14:47:59 +03:00 by kerem · 2 comments
Owner

Originally created by @ericonr on GitHub (Sep 22, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/590

If I press Enter three times consecutively, the final key press, which happens before the Made For You screen has loaded, crashes spotify-tui.

Can be seen here: https://asciinema.org/a/bKrlOAK9VmXWvZrrsmE492mGE

Originally created by @ericonr on GitHub (Sep 22, 2020). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/590 If I press Enter three times consecutively, the final key press, which happens before the `Made For You` screen has loaded, crashes `spotify-tui`. Can be seen here: https://asciinema.org/a/bKrlOAK9VmXWvZrrsmE492mGE
kerem closed this issue 2026-02-28 14:47:59 +03:00
Author
Owner

@sputnick1124 commented on GitHub (Sep 28, 2020):

Looks like it's coming from this unwrap.

<!-- gh-comment-id:700115283 --> @sputnick1124 commented on GitHub (Sep 28, 2020): Looks like it's coming from [this unwrap](https://github.com/Rigellute/spotify-tui/blob/0e8f3723ad3b91725d04b460ae6b511ac6ffac1c/src/handlers/made_for_you.rs#L49).
Author
Owner

@Rigellute commented on GitHub (Sep 30, 2020):

Good bug report thank you.

And good stuff debugging the error @sputnick1124

<!-- gh-comment-id:701523114 --> @Rigellute commented on GitHub (Sep 30, 2020): Good bug report thank you. And good stuff debugging the error @sputnick1124
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#243
No description provided.