From 523eba91bc570b2e3491899498003d8b849a9fcb Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Mon, 28 Jul 2008 00:18:23 +0200 Subject: Add scrollbacklines to config --- portato/gui/windows/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'portato') 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) -- cgit v1.2.3-54-g00ecf