Skip to content

str index out of range for wrap_text_to_lines  #104

Closed
@makermelissa

Description

@makermelissa

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions