Skip to content

Conversation

@RealistikDash
Copy link
Contributor

This PR fixes crashes regarding navigation attempts through an empty chart list.

Pressing any arrow key while inside an empty charts list would result in a division by zero error (for up and down arrows) or an index error (for the right arrow).

This PR adds a check that checks for an empty chart in the input handler.

fixes division by zero errors when trying to navigate through an empty chart list
@HastagGuigui
Copy link
Member

Thanks for making a PR! Seems good to me

@HastagGuigui HastagGuigui merged commit 91421b8 into shellrhythm:main Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants