tinyfugue icon indicating copy to clipboard operation
tinyfugue copied to clipboard

History editing non-ASCII characters doesn't work

Open jberanek opened this issue 13 years ago • 2 comments

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 = " to define it. See "/help keys".

jberanek avatar Apr 06 '11 13:04 jberanek

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.

jberanek avatar Apr 06 '11 14:04 jberanek

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.

warmstarter avatar Jun 24 '21 18:06 warmstarter