summaryrefslogtreecommitdiff
path: root/usr.bin/touch
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-10-20 17:33:34 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-10-20 17:33:34 +0000
commitd89b749326b0670ac53e05f47aa31d57775fcafa (patch)
tree9cf5d1cc8cc90259d71b0a3428953022adb590e5 /usr.bin/touch
parent7ca7f75f02ff9e27a8d6213d9a633327c5586e4c (diff)
UTF-8 combined character fixes.
Thai can have treble combinations (1 x width=1 then 2 x width=0) so bump the UTF-8 cell data size to 9 and alter the code to allow this. Also break off the combining code into a separate function, handle any further combining beyond the buffer size by replacing the character with _s, and when redrawing the UTF-8 character don't assume the first part has just been printed, redraw the entire line.
Diffstat (limited to 'usr.bin/touch')
0 files changed, 0 insertions, 0 deletions