Removed code in getunicode function as it is not needed for py3
This commit is contained in:
parent
2d65ed6127
commit
ccb0c986b2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user