Corinna Vinschen wrote: >> Using wcswidth isn't very useful in the editor because it has special >> requirements, like showing control characters with ^C. > >Well, it's not really such a big problem to special case wide char >control values and just call wcswidth otherwise...
Oh I see. wcwidth takes a wchar_t. Handily, Kuhn's implementation takes an UCS character. Now I understand what you mean by wcswidth. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple