#3352: mutt_yesorno() renders non-ascii strings incorrectly
-----------------------------+----------------------
  Reporter:  ghen            |      Owner:  mutt-dev
      Type:  defect          |     Status:  closed
  Priority:  major           |  Milestone:
 Component:  user interface  |    Version:  1.5.20
Resolution:  fixed           |   Keywords:
-----------------------------+----------------------
Changes (by Michael Elkins <me@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 (In [2a1c5d3dd72e]) do not use mutt_message() to display prompt in
 mutt_yesorno().

 properly calculate screen width of prompt string by using mutt_strwidth()
 rather than strlen()

 use safe_asprintf() return the formatted yes/no string since specifying
 COLS+1 is wrong when dealing with multibyte characters

 closes #3412
 closes #3352

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3352#comment:9>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to