Ticket #52 (closed enhancement: fixed)
Don't accept key sequences which have partially failed
|Reported by:||judah||Owned by:|
In many cases, it's feasible to eliminate the extra characters from unknown key sequences. Specifically, if we fail to parse a single buffer of input, we should ignore the whole thing.
One specific possibility is to throw out the buffer if a string 'partially matches' (eg ctrl-left ^[[5D, if not defined, will match up to the first two characters (of, eg, left ^[[D).