Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: avoid crash when navigation keys used with an empty console #12

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

mtb0x1
Copy link
Contributor

@mtb0x1 mtb0x1 commented Feb 27, 2024

using navigation keys (up, down) with an empty console results in a panic with out-of-band error.

@jfernandez jfernandez self-requested a review February 27, 2024 16:11
src/app.rs Show resolved Hide resolved
Copy link
Contributor

@jfernandez jfernandez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for catching this and including unit tests. I just have one small request inlined.

Copy link
Contributor

@jfernandez jfernandez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now, thanks.

@jfernandez jfernandez merged commit 352c617 into Netflix:main Feb 27, 2024
1 check passed
@nickodell
Copy link

@mtb0x1 Thanks for this fix. I ran into the same problem.

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.

3 participants