summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/room.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/room.py b/src/room.py
index e8bbd838..8e5ce87b 100644
--- a/src/room.py
+++ b/src/room.py
@@ -114,6 +114,8 @@ class Room(object):
if time: # History messages are colored to be distinguished
color = theme.COLOR_INFORMATION_TEXT
time = time if time is not None else datetime.now()
+ if self.pos: # avoid scrolling of one line when one line is received
+ self.pos += 1
self.messages.append(Message(txt, time, nickname, user, color, colorized))
def remove_line_separator(self):