Open jberanek opened 13 years ago
OK, I take back the buffer overflows bit. I think that was just me whizzing around (with left and right), and then typing £. Some times I'd accidentally still be holding shift when I pressed right.
Just added some changes that might help somewhat with this. In addition, I've found configuring my terminal to send ^H instead of ^? fixes a fair amount of issues with non-ASCII characters.
It's not a buffer overflow, it relates to the fact that non-ASCII characters can be multiple different number of bytes for a single character.
If I type anything non-ASCII (say '£££') and then press left and right cursor keys, the editing doesn't work correctly, and eventually I start getting weird errors[1] that suggest buffer overflows.
[1] % The key "shift_right" is undefined; you may use "/def key_shift_right =