diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-04-28 18:32:09 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-04-28 18:32:09 +0200 |
commit | 3764f38fc805a8846bd18f1d555a10227fd14e29 (patch) | |
tree | 2cdc4ea292102e561d4c2a5ae645cecef3489302 /st.info | |
parent | 53105cf74fde46229912275c073f8c0f219b05bb (diff) | |
download | st-3764f38fc805a8846bd18f1d555a10227fd14e29.tar.gz st-3764f38fc805a8846bd18f1d555a10227fd14e29.tar.bz2 st-3764f38fc805a8846bd18f1d555a10227fd14e29.zip |
Fix tputc control code handling
The patch 53105cf modified how control codes were detected, because
it tried to handle also C1 control codes (0x80-0x9f), that have
upper bit to 1, so they are multi byte character in utf8.
Code was checking the value of width in order to known that after
decoding the unicode point had a width of 1 byte, but it as incorrect
because this width is the columnb width.
Diffstat (limited to 'st.info')
0 files changed, 0 insertions, 0 deletions