diff --git a/Menu.py b/Menu.py index ac5b57b..337b56f 100644 --- a/Menu.py +++ b/Menu.py @@ -26,7 +26,7 @@ def preview_formater(title: str, body: str, size_x: int, size_y: int): out += f"┌── {title} " + "─" * (size_x - 6 - len(title)) + "┐\n" lines = body.split("\n"); for line in lines[:size_y - 2]: - out += f"│ {line[: size_x - 4]}" + " " * (size_x - 3 - len(line)) + "│\n" + out += f"│ {line[: size_x - 3]}" + " " * (size_x - 3 - len(line)) + "│\n" out += "└" + "─" * (size_x - 2) + "┘" return (out);