Don't apply keyboard decoding to unread-command-events.
commita7eb9b0fbeeaa24d803355fd90d462809916a2d8
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 23 May 2013 17:25:42 +0000 (23 13:25 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 23 May 2013 17:25:42 +0000 (23 13:25 -0400)
tree4696206f7fcaf47c38cea418a47ceeb4bb2f0264
parentfe1eb856c5457a220c7c9cc96030247aaad2a0a3
Don't apply keyboard decoding to unread-command-events.
* src/keyboard.c: Apply keyboard decoding only to events that come directly
from the tty, not from unread-command-events (bug#14368).
(read_event_from_main_queue): New function, extracted from read_char).
(read_decoded_char): Remove.
(read_decoded_event_from_main_queue): New function to replace it.
(read_char): Use it.
(read_key_sequence): Use read_char rather than read_decoded_char.

Fixes: debbugs:14403
src/ChangeLog
src/keyboard.c