We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
See tconbeer/harlequin#659 Started as of: Textualize/rich#3521
Somehow, the _split_cells function is passed a negative value for cut and it sits in an infinite loop.
_split_cells
I don't really understand what this function is doing, but this patch worked well for me!
@@ -122,11 +122,11 @@ A tuple of two segments. """ text, style, control = segment _Segment = Segment cell_length = segment.cell_length - if cut >= cell_length: + if cut < 0 or cut >= cell_length: return segment, _Segment("", style, control) cell_size = get_character_cell_size pos = int((cut / cell_length) * len(text))
The text was updated successfully, but these errors were encountered:
Thank you for your issue. Give us a little time to review it.
PS. You might want to check the FAQ if you haven't done so already.
This is an automated reply, generated by FAQtory
Sorry, something went wrong.
Apologies, wrong project: Textualize/rich#3532
Don't forget to star the repository!
Follow @textualizeio for Textual updates.
No branches or pull requests
See tconbeer/harlequin#659
Started as of: Textualize/rich#3521
Somehow, the
_split_cells
function is passed a negative value for cut and it sits in an infinite loop.I don't really understand what this function is doing, but this patch worked well for me!
The text was updated successfully, but these errors were encountered: