diff --git a/caver/patcher.py b/caver/patcher.py index f941b2b..81e15ef 100644 --- a/caver/patcher.py +++ b/caver/patcher.py @@ -118,7 +118,7 @@ def patch_hash(hash: list[int], output_dir: Path): def patch_uuid(uuid: str, output_dir: Path): output_dir.joinpath("data", "uuid.txt").write_text(uuid) -def wrap_msg_text(text: str, facepic: bool, max_text_boxes: int | None = 1) -> str: +def wrap_msg_text(text: str, facepic: bool, *, ending: str = " str: hard_limit = 35 msgbox_limit = 26 if facepic else hard_limit @@ -133,7 +133,7 @@ def wrap_msg_text(text: str, facepic: bool, max_text_boxes: int | None = 1) -> s text += " str: """ A desperate attempt to generate valid