On 12/5/14, Brandon Mulcahy <bran...@jangler.info> wrote: > --- > cols.1 | 3 +-- > cols.c | 14 +++++++++----- > 2 files changed, 10 insertions(+), 7 deletions(-) > > diff --git a/cols.1 b/cols.1 > index 8f15cb3..5383e47 100644 > --- a/cols.1 > +++ b/cols.1 > @@ -27,8 +27,7 @@ This implementation of > .B cols > assumes that every byte is a character > which takes up one column on the screen. > -It does not handle non-ASCII UTF-8 runes > -or TAB characters correctly. > +It does not handle TAB characters correctly.
utflen returns the number of runes in a string, not the number of character cells that will be used to display it on a terminal. Robert Ransom