We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aef15a6 commit e81138cCopy full SHA for e81138c
src/textual/content.py
@@ -874,6 +874,9 @@ def wrap(
874
) -> list[Content]:
875
"""Wrap text so that it fits within the given dimensions.
876
877
+ Note that Textual will automatically wrap Content in widgets.
878
+ This method is only required if you need some additional processing to lines.
879
+
880
Args:
881
width: Maximum width of the line (in cells).
882
align: Alignment of lines.
0 commit comments