mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Do not try to insert control characters.
This commit is contained in:
parent
862d13a30f
commit
97aa21b46a
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue