summaryrefslogtreecommitdiff
path: root/portato/gui/windows
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2008-07-28 00:18:23 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2008-07-28 00:18:23 +0200
commit523eba91bc570b2e3491899498003d8b849a9fcb (patch)
tree8325797b439958da81fcfd2102094da44f276847 /portato/gui/windows
parent40d0f8c34a0f35c34917641b99988989120b6122 (diff)
downloadportato-523eba91bc570b2e3491899498003d8b849a9fcb.tar.gz
portato-523eba91bc570b2e3491899498003d8b849a9fcb.tar.bz2
portato-523eba91bc570b2e3491899498003d8b849a9fcb.zip
Add scrollbacklines to config
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 f5b5d17..06ec9ea 100644
--- a/portato/gui/windows/main.py
+++ b/portato/gui/windows/main.py
@@ -740,7 +740,7 @@ class MainWindow (Window):
Builds the terminal.
"""
- self.console.set_scrollback_lines(2**20)
+ self.console.set_scrollback_lines(int(self.cfg.get("scrollbacklines", "GUI")))
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)