summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-04-29 19:13:24 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-04-29 19:13:24 +0200
commit57fdab2f3e379d0e2ab7a3a394f3ff129f3efa34 (patch)
tree54395b6afbdb1ebdbe767b3dcc936a5794b68641 /portato/gui
parent92443dcb6dd74e67899553ab58ce1a30560bd8dd (diff)
downloadportato-57fdab2f3e379d0e2ab7a3a394f3ff129f3efa34.tar.gz
portato-57fdab2f3e379d0e2ab7a3a394f3ff129f3efa34.tar.bz2
portato-57fdab2f3e379d0e2ab7a3a394f3ff129f3efa34.zip
Changed max scrollback lines to 2**20 to prevent segfaults
Diffstat (limited to '')
-rw-r--r--portato/gui/windows/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/gui/windows/main.py b/portato/gui/windows/main.py
index 314a500..5dffad3 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -829,7 +829,7 @@ class MainWindow (Window):
Builds the terminal.
"""
- self.console.set_scrollback_lines(2**30)
+ self.console.set_scrollback_lines(2**20)
self.console.set_scroll_on_output(True)
self.console.set_font_from_string(self.cfg.get("consolefont", "GUI"))
self.console.connect("button-press-event", self.cb_right_click)