Removed code in getunicode function as it is not needed for py3

This commit is contained in:
Manuel Cortez 2016-12-18 22:19:07 -06:00
parent 2d65ed6127
commit ccb0c986b2

View File

@ -386,20 +386,7 @@ readonly: whether to accept new text
def externalEdit(self): return None
def getunicode(self, c):
tc = u' '
buf = ''
done = False
nc = chr(c)
buf += nc
if ord(nc) in (194, 195):
nc = chr(self.screen.getch())
buf += nc
# try:
tc = buf
done = True
# except:
# pass
return tc
return chr(c)
def draw(self):
d = self.ptr, self.currentLine