Re: [Mutt] #3364: index_format: subject length miscalculated after
#3364: index_format: subject length miscalculated after subject has changed
---------------------+------------------------------------------------------
Reporter: dp | Owner: brendan
Type: defect | Status: accepted
Priority: minor | Milestone:
Component: display | Version:
Keywords: |
---------------------+------------------------------------------------------
Comment(by brendan):
I can reproduce this on my OS X 10.6 machine. In `mutt_wstr_trunc`, the
arrow symbols are converted into wide characters (mbrtowc succeeds), but
wcwidth on the result is returning -1. I'm not sure who is at fault here
yet (I don't really know much about wide characters). I can attach a
debugging patch I used that appears to fix this problem, but I don't have
any reason to believe it's correct.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3364#comment:2>
Mutt <http://www.mutt.org/>
The Mutt mail user agent