From 463f8830d736e7b510c282f125eef65533d4b804 Mon Sep 17 00:00:00 2001 From: I-Al-Istannen Date: Sun, 23 May 2021 18:12:34 +0200 Subject: [PATCH] Add warn_contd --- PFERD/logging.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PFERD/logging.py b/PFERD/logging.py index ef6ee4c..e97a3fa 100644 --- a/PFERD/logging.py +++ b/PFERD/logging.py @@ -130,6 +130,13 @@ class Log: self.print(f"[bold bright_red]Warning[/] {escape(text)}") + def warn_contd(self, text: str) -> None: + """ + Print further lines of a warning message. Allows no markup. + """ + + self.print(f"{escape(text)}") + def error(self, text: str) -> None: """ Print an error message. Allows no markup.