Project

General

Profile

« Previous | Next » 

Revision 13b106a1

Added by aycabta (aycabta .) over 4 years ago

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.