From fc6d232a9357211a44dad3300ff64571620aa1bf Mon Sep 17 00:00:00 2001 From: necoro <> Date: Fri, 13 Jul 2007 04:09:51 +0000 Subject: new fancier log output --- portato/gui/qt/terminal.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'portato/gui/qt/terminal.py') diff --git a/portato/gui/qt/terminal.py b/portato/gui/qt/terminal.py index 0c7cf8b..a70e56b 100644 --- a/portato/gui/qt/terminal.py +++ b/portato/gui/qt/terminal.py @@ -17,16 +17,17 @@ from threading import Thread, currentThread from os import read, close import errno +from portato.gui.wrapper import Console +from portato.helper import debug + try: from curses.ascii import ctrl except ImportError: # emulate ctrl-behavior for known values def ctrl (val): if val == "H": return '\x08' elif val == "W": return '\x17' - else: debug("unknown error passed to emulated ctrl:",val) + else: debug("unknown error passed to emulated ctrl: %s",val) -from portato.gui.wrapper import Console -from portato.helper import debug class WriteEvent (Qt.QEvent): TYPE = Qt.QEvent.Type(1001) -- cgit v1.2.3-70-g09d2