Skip to content

Commit 57ad676

Browse files
committed
api
1 parent ce15ea1 commit 57ad676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textual/content.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ def iter_content() -> Iterable[Content]:
870870
return Content("".join(text), spans, total_cell_length)
871871

872872
def wrap(
873-
self, width: int, align: TextAlign = "left", overflow: TextOverflow = "fold"
873+
self, width: int, *, align: TextAlign = "left", overflow: TextOverflow = "fold"
874874
) -> list[Content]:
875875
"""Wrap text so that it fits within the given dimensions.
876876

0 commit comments

Comments
 (0)