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

Add wrap_text and an example #883

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

Conversation

JaniM
Copy link

@JaniM JaniM commented Jan 12, 2025

Adds a new wrap_text function that converts word breaks to newlines wherever the text would otherwise exceed the given length. The example should be quite self-evident.

Screen.Recording.2025-01-12.at.23.36.33.mov

@JaniM JaniM force-pushed the push-mukyxnqqusww branch 3 times, most recently from 88c9b48 to 5d7b2f1 Compare January 13, 2025 08:59
@JaniM JaniM force-pushed the push-mukyxnqqusww branch from 5d7b2f1 to a398e30 Compare January 13, 2025 17:54
@JaniM
Copy link
Author

JaniM commented Jan 13, 2025

Updated to a much more efficient version.

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.

1 participant