added an install info
[pygdb.git] / DbgTerminal.py
index 6b09426a0698313742ed85402b441cdf4b715c67..0f0eb07f77a4ded1a1917f0e37965c1b6656234c 100644 (file)
@@ -72,10 +72,15 @@ class DbgTerminal (vte.Terminal):
                #Get the lines and remove empty lines
                lines = string.split(text, "\n")
 
+
                #Remove the incomplete line
+               len = self.getHistoryLen()
                self.history[-1] += lines[0]
                self.history += lines[1:]
 
+               for l in self.history[len:]:
+                       pass
+
 
        def waitForNewline(self):
                l = self.getHistoryLen()