summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/pack
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-10-18 02:15:53 +0900
committeraycabta <aycabta@gmail.com>2019-10-18 02:54:20 +0900
commit13b106a19c9c819fb0c887beb4787ab894cdba6c (patch)
treea2d1c988edfc7217dad1633a46c927cef2d5fe0f /spec/ruby/core/array/pack
parent0162e7e6471b639dfeeded29943e9e27c9519826 (diff)
Ignore the input method key sequence from getwch() correctly
The function getwch() returns some key sequences which start from 0 or 0xE0 with a following key code. Alt+` that is on/off key for input methods gives 0 and 41 so Reline was always ignoring 0 and following keys but numeric keypad keys give 0 and following actual keys. This commit changes the behavior to be ignoring only the 0 and 41 sequence.
Diffstat (limited to 'spec/ruby/core/array/pack')
0 files changed, 0 insertions, 0 deletions