X-Git-Url: https://git.sthu.org/?p=pygdb.git;a=blobdiff_plain;f=DbgTerminal.py;h=c8b079fe18491567865c0d86c4c2ca9e39902e6b;hp=69fa8339c61dc905e744390520dfb5fa5e5bdc77;hb=e3403072dbc8f31817f6492dea70ebdf5128fcb2;hpb=0024f43ac5834f611179587a6fc25385ee5bf4a5 diff --git a/DbgTerminal.py b/DbgTerminal.py index 69fa833..c8b079f 100644 --- a/DbgTerminal.py +++ b/DbgTerminal.py @@ -17,6 +17,7 @@ import ClientIOTerminal class DbgTerminal (vte.Terminal): + isactive = True lastrow = 0 history = [] @@ -116,6 +117,15 @@ class DbgTerminal (vte.Terminal): def getExpression(self, expr): raise NotImplementedError() + def waitForActivation(self, his): + raise NotImplementedError() + + def setActive(self, isactive): + self.isactive = isactive + + def isActive(self): + return self.isactive + def getLastLine(self): if len(self.history) == 0: return None @@ -125,7 +135,7 @@ class DbgTerminal (vte.Terminal): def feed_dbg(self, text): self.feed_child(text) - +