mirror of
https://github.com/wassname/pyreadline.git
synced 2026-08-17 11:24:37 +08:00
Fixed bug with alt gr inserting wrong character
This commit is contained in:
@@ -490,7 +490,6 @@ class Readline(BaseReadline):
|
||||
event = c.getkeypress()
|
||||
except KeyboardInterrupt:
|
||||
event=self.handle_ctrl_c()
|
||||
|
||||
result=self.mode.process_keyevent(event.keyinfo)
|
||||
self._update_line()
|
||||
return result
|
||||
@@ -529,10 +528,6 @@ class Readline(BaseReadline):
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# create a Readline object to contain the state
|
||||
rl = Readline()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user