Skip to content

Conversation

@KennedyTedesco
Copy link
Contributor

@KennedyTedesco KennedyTedesco commented Dec 26, 2023

Closes #202 and #203

This implementation is heavily based on Ratatui's. You can review tests (the last two ones are the best ones) to understand the differences between breaking by Word vs WordTrimmed (there is a significant difference).

The None variant is simply an alias for Character. Notice that None is the default wrapping logic used if none is specified.

@dantleech dantleech merged commit bfecc51 into php-tui:main Dec 27, 2023
@dantleech
Copy link
Collaborator

Nice work!

@KennedyTedesco KennedyTedesco deleted the word-wrapper branch December 27, 2023 11:36
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.

Paragraph: wrap is not used

2 participants