We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm getting IndexError: str index out of range on wrapping strings with:
from adafruit_display_text import wrap_text_to_lines print(wrap_text_to_lines("Hello World!", 5))
The text was updated successfully, but these errors were encountered:
Also, this chops it up weird.
print(wrap_text_to_lines("Hello4 World!", 5))
results in
Hell- Worl- d!
Sorry, something went wrong.
For "Hello World", here's the pieces it is chopped into:
['', 'Worl-', 'd!']
Successfully merging a pull request may close this issue.
I'm getting IndexError: str index out of range on wrapping strings with:
The text was updated successfully, but these errors were encountered: