#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()