debugger: really don't use curses on windows

This commit is contained in:
hjk
2010-03-08 13:14:23 +01:00
parent 62811941de
commit 8e522c92ee
3 changed files with 10 additions and 4 deletions

View File

@@ -37,8 +37,7 @@ def qdump__QByteArray(d, item):
def qdump__QChar(d, item):
ucs = int(item.value["ucs"])
c = select(curses.ascii.isprint(ucs), ucs, '?')
d.putValue("'%c' (%d)" % (c, ucs))
d.putValue("'%c' (%d)" % (printableChar(ucs), ucs))
d.putNumChild(0)