summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-02-14 14:54:26 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-02-14 14:54:26 +0100
commit4b31e5acf142664c2f2ebd2e0cfa26e700d947d7 (patch)
tree82471c08139bdea5bcb1ba6a149d0b970580a784 /src/tabs.py
parent3e550f4ae7ef13496fcc2e19ae406f324a2ee8e2 (diff)
downloadpoezio-4b31e5acf142664c2f2ebd2e0cfa26e700d947d7.tar.gz
poezio-4b31e5acf142664c2f2ebd2e0cfa26e700d947d7.tar.bz2
poezio-4b31e5acf142664c2f2ebd2e0cfa26e700d947d7.tar.xz
poezio-4b31e5acf142664c2f2ebd2e0cfa26e700d947d7.zip
Make the number of lines and messages kept in memory configurable
and lower (a lot) the number of lines kept in the info_win buffers This lower the memory usage.
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index aa5ccab3..3b25095d 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -261,7 +261,7 @@ class ChatTab(Tab):
class TabWithInfoWin(Tab):
def __init__(self):
- self.info_win = windows.TextWin()
+ self.info_win = windows.TextWin(20)
self.core.information_buffer.add_window(self.info_win)
def __del__(self):