Skip to content

nbytes in rdpq_paragraph_build inaccurate #702

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

Open
genecro opened this issue Mar 23, 2025 · 0 comments
Open

nbytes in rdpq_paragraph_build inaccurate #702

genecro opened this issue Mar 23, 2025 · 0 comments
Labels
bug A bug to be fixed

Comments

@genecro
Copy link

genecro commented Mar 23, 2025

nbytes should hold the number of characters contained in the paragraph, but it seems to only get checked at escape sequences and newlines. If the string has no escape sequences or newlines, nbytes is equal to the length of the entire string, not just the portion that gets displayed in the paragraph.

@rasky rasky added the bug A bug to be fixed label Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug to be fixed
Projects
None yet
Development

No branches or pull requests

2 participants