mirror of https://github.com/python/cpython
Do not try to insert control characters.
This commit is contained in:
parent
862d13a30f
commit
97aa21b46a
|
@ -354,7 +354,7 @@ class AutoCompleteWindow:
|
|||
# A modifier key, so ignore
|
||||
return
|
||||
|
||||
elif event.char:
|
||||
elif event.char and event.char >= ' ':
|
||||
# Regular character with a non-length-1 keycode
|
||||
self._change_start(self.start + event.char)
|
||||
self.lasttypedstart = self.start
|
||||
|
|
Loading…
Reference in New Issue