Commit 97aa21b4 authored by Martin v. Löwis's avatar Martin v. Löwis

Do not try to insert control characters.

parent 862d13a3
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment