summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-11 03:26:26 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-11 03:26:26 +0000
commit2a5635c677fa7d2d5d0d3d978542fd0a82c1a594 (patch)
treef84c8bfdabe9946d8dc21815e2b92ca059ed3671 /src
parent118a4c9b95092f4f5af1e544adaa18c51274171f (diff)
downloadpoezio-2a5635c677fa7d2d5d0d3d978542fd0a82c1a594.tar.gz
poezio-2a5635c677fa7d2d5d0d3d978542fd0a82c1a594.tar.bz2
poezio-2a5635c677fa7d2d5d0d3d978542fd0a82c1a594.tar.xz
poezio-2a5635c677fa7d2d5d0d3d978542fd0a82c1a594.zip
(almost) fixed #1783
Diffstat (limited to 'src')
-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):