-
Notifications
You must be signed in to change notification settings - Fork 230
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
table resizing issue with \r\n in cells #383
Comments
Seems like issue is in x/ansi.Wrap isn't trimming the |
Hey @pachecot I came across this problem as well recently. There's an open PR to strip I'm not sure if this fix should also be in other formatting functions as users will likely still encounter this if they're only using |
Added a test for this case in the linked PR :) |
thanks @bashbunni looks like it would fix it. |
hey @bashbunni @aymanbagabas, on closer look x/ansi seems fine. found issue source and submitted PR, which may be redundant with #386 |
something in the resize logic seems to fail on a carriage return line feed "\r\n"
renders ok without setting the Width
this is the result I got
edit:
The text was updated successfully, but these errors were encountered: