projects
/
pygdb.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added an install info
[pygdb.git]
/
DbgTerminal.py
diff --git
a/DbgTerminal.py
b/DbgTerminal.py
index 6b09426a0698313742ed85402b441cdf4b715c67..0f0eb07f77a4ded1a1917f0e37965c1b6656234c 100644
(file)
--- a/
DbgTerminal.py
+++ b/
DbgTerminal.py
@@
-72,10
+72,15
@@
class DbgTerminal (vte.Terminal):
#Get the lines and remove empty lines
lines = string.split(text, "\n")
#Get the lines and remove empty lines
lines = string.split(text, "\n")
+
#Remove the incomplete line
#Remove the incomplete line
+ len = self.getHistoryLen()
self.history[-1] += lines[0]
self.history += lines[1:]
self.history[-1] += lines[0]
self.history += lines[1:]
+ for l in self.history[len:]:
+ pass
+
def waitForNewline(self):
l = self.getHistoryLen()
def waitForNewline(self):
l = self.getHistoryLen()