diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-09-23 14:46:06 +0800 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2014-09-23 16:47:58 +1000 |
commit | 3aef1b6d1f465596ebf7883a50efcf4d6f0ffcf4 (patch) | |
tree | c1ff2d5ccb4ba0d5b0ef1af0f02bcad528ce7d5b /COPYING | |
parent | 73ee21af6d0a379a104a21b7569331284b3659b7 (diff) | |
download | talos-petitboot-3aef1b6d1f465596ebf7883a50efcf4d6f0ffcf4.tar.gz talos-petitboot-3aef1b6d1f465596ebf7883a50efcf4d6f0ffcf4.zip |
lib/fold: Add support for multibyte strings
Currently, the fold_text function doesn't understand multibyte strings,
so may break a line in the middle of a multibyte sequence.
This change adds multibyte-awareness to the fold code, and uses proper
width calculations for the contents of the folded string.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions