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

Inexplicable wrapping #5

Closed
nedbat opened this issue Mar 27, 2023 · 1 comment
Closed

Inexplicable wrapping #5

nedbat opened this issue Mar 27, 2023 · 1 comment

Comments

@nedbat
Copy link
Owner

nedbat commented Mar 27, 2023

With long step names, I see this while the display is refreshing:
image

but then this when the final print happens (in this case because of Ctrl-C):
image
The final output is the full width of the terminal. The redrawing output is wrapping at about 100 chars, but oddly, since some of the words at the beginning of wrapped lines would fit on the previous line.

It seems like rich is soft-wrapping, but I can't make it stop. I've tried adding soft_wrap=False lots of places, with no effect. Running with (for example) COLUMNS=200 in the environment changes the width of the wrapping. I see the same effect in iTerm2 and in Terminal.

nedbat added a commit that referenced this issue Mar 28, 2023
@nedbat
Copy link
Owner Author

nedbat commented Mar 28, 2023

Fixed in c660d83, thanks to help from Textualize/rich#2907.

@nedbat nedbat closed this as completed Mar 28, 2023
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

No branches or pull requests

1 participant