X-Git-Url: https://git.sthu.org/?p=pygdb.git;a=blobdiff_plain;f=DbgTerminal.py;h=89659d035628a9fe7a450bffc9e603ff905eceb7;hp=8cdc932abfbeda71402a10a1d0ddd985582e9e75;hb=1094f7f4581a9c0074294004bbd8c934593a54d5;hpb=cfcc39662a53b6f7a77c7ec8f05478227c5f137f diff --git a/DbgTerminal.py b/DbgTerminal.py index 8cdc932..89659d0 100644 --- a/DbgTerminal.py +++ b/DbgTerminal.py @@ -42,9 +42,9 @@ class DbgTerminal (vte.Terminal): def initialize(self): - #Launch debugger self.fork_command( self.getCommand(), self.getArgv()) self.setPty(self.client_ptyslave) + self.waitForActivation() def contents_changed(self, term):