#Set up terminal window and initialize debugger
self.connect("cursor-moved", self.contents_changed)
- self.connect("eof", lambda *w: gtk.main_quit())
+ self.connect("child-exited", lambda *w: gtk.main_quit())
def contents_changed(self, term):
def toggleClientIOWindow(self):
if not self.clientIOWnd:
- self.clientIOWnd = ClientIOTerminal.ClientIOWindow(self, self.terminal.client_ptymaster)
+ self.clientIOWnd = ClientIOTerminal.ClientIOWindow(self, \
+ self.terminal.client_ptymaster)
else:
self.clientIOWnd.destroy()
self.clientIOWnd = None