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

Fix issue when truncating unicode text #215

Merged
merged 2 commits into from
Dec 3, 2023
Merged

Fix issue when truncating unicode text #215

merged 2 commits into from
Dec 3, 2023

Conversation

KennedyTedesco
Copy link
Contributor

Previously, an OutOfBoundsException was thrown for this same test.

1) PhpTui\Tui\Tests\Unit\Extension\Core\Widget\ParagraphRendererTest::testParagraph with data set "unicode"
OutOfBoundsException: Position (14,0) outside of area @(0,0) of 14x1 when trying to get index

@dantleech dantleech merged commit 2da2df8 into php-tui:main Dec 3, 2023
6 checks passed
@KennedyTedesco KennedyTedesco deleted the line-truncator branch December 3, 2023 20:14
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.

None yet

2 participants