<<< Date Index >>>     <<< Thread Index >>>

Re: [Mutt] #2520: Mutt line editor displays nonspacing characters



#2520: Mutt line editor displays nonspacing characters at control escapes

Comment (by pdmef):

 These lines are in my_wcwidth() and the my_addwch() functions, the code in
 both cases is line 2 in:
 {{{
 int n = wcwidth (wc);
 if (IsWPrint (wc) && n > 0)
 }}}
 I'd rather say that if wcwidth(wc)==0, they should return 0 for the wide
 null character since I assume wcwidth() for L’\0' should be 0 and
 iswprint() 0, too.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2520#comment:1>