Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Wrap tweets neatly at 32 characters #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ghalfacree
Copy link

Using the existing code, tweets are hard-wrapped at 32 characters - which causes words to get cut off half-way through. This modification imports the textwrap module, and uses its wrap function to neatly wrap tweet text at 32 characters - making everything a lot more readable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant