diff options
author | necoro <> | 2007-07-13 04:09:51 +0000 |
---|---|---|
committer | necoro <> | 2007-07-13 04:09:51 +0000 |
commit | fc6d232a9357211a44dad3300ff64571620aa1bf (patch) | |
tree | 2f31112805b8d05c94978775a183668dc260367c /portato/gui/qt/terminal.py | |
parent | b5e8e2eb2b8bc9936070028ecf91ff8d0b7c33ef (diff) | |
download | portato-fc6d232a9357211a44dad3300ff64571620aa1bf.tar.gz portato-fc6d232a9357211a44dad3300ff64571620aa1bf.tar.bz2 portato-fc6d232a9357211a44dad3300ff64571620aa1bf.zip |
new fancier log output
Diffstat (limited to '')
-rw-r--r-- | portato/gui/qt/terminal.py | 7 |
1 files changed, 4 insertions, 3 deletions
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) |