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 textinput infinite loop and panic #89

Merged
merged 1 commit into from
Jan 11, 2022

Conversation

IllusionMan1212
Copy link
Contributor

  • fixes infinite loop when deleting input that only contains whitespace using deleteWordLeft()
  • fixes index out of range panic when deleting input that only contains whitespace using deleteWordRight()

fixes infinite loop when deleting input that only contains whitespace
using deleteWordLeft()
fixes index out of range panic when deleting input that only contains
whitespace using deleteWordRight()
@meowgorithm meowgorithm added the bug Something isn't working label Jan 11, 2022
@meowgorithm meowgorithm merged commit c426cb5 into charmbracelet:master Jan 11, 2022
@meowgorithm
Copy link
Member

Well done. Thanks for this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants