aboutsummaryrefslogtreecommitdiffstats
path: root/arg.h
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero <k0ga@shike2.com>2014-04-28 18:32:09 +0200
committerRoberto E. Vargas Caballero <k0ga@shike2.com>2014-04-28 18:32:09 +0200
commit3764f38fc805a8846bd18f1d555a10227fd14e29 (patch)
tree2cdc4ea292102e561d4c2a5ae645cecef3489302 /arg.h
parent53105cf74fde46229912275c073f8c0f219b05bb (diff)
downloadst-3764f38fc805a8846bd18f1d555a10227fd14e29.tar.gz
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 'arg.h')
0 files changed, 0 insertions, 0 deletions
remember that computers suck.