mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-23 15:53:36 +05:00
refactor: be able to specify last character after printing a dialog
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
@@ -89,6 +89,7 @@ class Logger:
|
||||
content: List[str],
|
||||
custom_title: str = None,
|
||||
custom_color: DialogCustomColor = None,
|
||||
end: str = "\n",
|
||||
) -> None:
|
||||
dialog_color = Logger._get_dialog_color(title, custom_color)
|
||||
dialog_title = Logger._get_dialog_title(title, custom_title)
|
||||
@@ -99,7 +100,7 @@ class Logger:
|
||||
|
||||
print(
|
||||
f"{top}{dialog_title_formatted}{dialog_content}{bottom}",
|
||||
end="",
|
||||
end=end,
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in New Issue
Block a user