diff --git a/kiauh/components/klipperscreen/klipperscreen.py b/kiauh/components/klipperscreen/klipperscreen.py index 2e8c8b2..64e5d98 100644 --- a/kiauh/components/klipperscreen/klipperscreen.py +++ b/kiauh/components/klipperscreen/klipperscreen.py @@ -55,6 +55,7 @@ def install_klipperscreen() -> None: warn_msg = [ "Moonraker not found! KlipperScreen will not properly work " "without a working Moonraker installation.", + "\n\n", "KlipperScreens update manager configuration for Moonraker " "will not be added to any moonraker.conf.", ] diff --git a/kiauh/utils/logger.py b/kiauh/utils/logger.py index 6a02310..8c7d372 100644 --- a/kiauh/utils/logger.py +++ b/kiauh/utils/logger.py @@ -148,7 +148,10 @@ class Logger: for i, c in enumerate(content): paragraph = wrapper.wrap(c) lines.extend(paragraph) - if i < len(content) - 1: + + # add a full blank line if we have a double newline + # character unless we are at the end of the list + if c == "\n\n" and i < len(content) - 1: lines.append(" " * line_width) formatted_lines = [