scroll to bottom of output after execution
[enigma2.git] / lib / python / Screens / Console.py
index b57f240..c6b156c 100644 (file)
@@ -55,6 +55,7 @@ class Console(Screen):
                        str = self["text"].getText()
                        str += _("Execution finished!!");
                        self["text"].setText(str)
+                       self["text"].lastPage()
                        if self.finishedCallback is not None:
                                self.finishedCallback()
                        if not retval and self.closeOnSuccess:
@@ -67,4 +68,4 @@ class Console(Screen):
                        self.container.dataAvail.remove(self.dataAvail)
 
        def dataAvail(self, str):
-               self["text"].setText(self["text"].getText() + str)
+               self["text"].setText(self["text"].getText() + str)
\ No newline at end of file