-
Notifications
You must be signed in to change notification settings - Fork 27
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
How do I wrap text output? #341
Comments
This issue still needs further investigation, however I did notice an error which I've corrected in 4e2f7fe. |
oh, I didn't know about |
here is what I found: renderer.line do
stream do
foreground ALERT
text msg, mode: :wrap
end
end does not render anything but this does renderer.line do
stream do
foreground ALERT
text msg #, mode: :wrap
end
end am I using the mode option wrong? |
No, I expect you've found a bug! Something is not quite right in |
Woo! |
Now works with Views::View and Views::Line models, though still needs more work. Work related to #341.
Now works with Views::View and Views::Line models, though still needs more work. Work related to #341.
Now works with Views::View and Views::Line models, though still needs more work. Work related to #341.
Now works with Views::View and Views::Line models, though still needs more work. Work related to #341.
These methods will control the :wordwrap option on the view. The behaviour will soon be changed to wordwrap by default, meaning that #no_wordwrap! should be used to specifically not wordwrap content in a given interface. Work relating to #341.
Default wordwrap to true. Work relating to #341.
For really long lines of text, they keep going beyond the bounds of the views.
The text was updated successfully, but these errors were encountered: