summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 6cf13b96..7a77a0f4 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -533,7 +533,10 @@ class ChatTab(Tab):
self.input.refresh()
def get_conversation_messages(self):
- return self._text_buffer.messages
+ if self.text_win.pos:
+ return self._text_buffer.messages[:-self.text_win.pos]
+ else:
+ return self._text_buffer.messages
def command_say(self, line):
raise NotImplementedError