summaryrefslogtreecommitdiff
path: root/src/windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows.py')
-rw-r--r--src/windows.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/windows.py b/src/windows.py
index 13383536..7c87c59b 100644
--- a/src/windows.py
+++ b/src/windows.py
@@ -415,6 +415,20 @@ class TextWin(Win):
if self.pos <= 0:
self.pos = 0
+ def remove_line_separator(self):
+ """
+ Remove the line separator
+ """
+ if None in self.built_lines:
+ self.built_lines.remove(None)
+
+ def add_line_separator(self):
+ """
+ add a line separator at the end of messages list
+ """
+ if None not in self.built_lines:
+ self.built_lines.append(None)
+
def build_new_message(self, message):
"""
Take one message, build it and add it to the list