mirror of https://github.com/pikami/st.git
Fix techo handling of control and multibyte characters.
techo compares signed char to '\x20'. Any character with code less then '\x20' is treated as control character. This way characters with MSB set to 1 are considered control characters too. Also this patch makes techo display DEL character as ^?. To reprocuce the bug, enable echo mode using printf '\e[12l', then type DEL character or any non-ASCII character.
This commit is contained in:
parent
fa19f241a3
commit
f9dc374ea0
Loading…
Reference in New Issue