From 3c62c2c399a653d78bb0bb2b1f616ae87a35adae Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Fri, 30 May 2025 22:41:08 +0200 Subject: [PATCH] Indent lines in log display. --- ircplom.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ircplom.py b/ircplom.py index 21cda8c..fe5e37c 100755 --- a/ircplom.py +++ b/ircplom.py @@ -94,7 +94,8 @@ class Terminal: def wrap(self, line: str) -> list[str]: 'Wrap line to list of lines fitting into terminal width.' - return self._blessed.wrap(line, width=self.size.x) + return self._blessed.wrap(line, width=self.size.x, + subsequent_indent=' '*4) def write_yx(self, offset: YX, msg: str) -> None: 'Starting at offset, write line with msg, padded at end with spaces.' -- 2.30.2