#3814: [PATCH] Pad truncated Multi-Column characters
-------------------------+----------------------
Reporter: flatcap | Owner: mutt-dev
Type: defect | Status: closed
Priority: minor | Milestone:
Component: display | Version: 1.5.24
Resolution: worksforme | Keywords: patch
-------------------------+----------------------
Changes (by kevin8t8):
* status: new => closed
* resolution: => worksforme
Comment:
Sorry I can't duplicate this. The code already appears to pad (up to
destlen) if we haven't filled to min_width.
Have you tried setting left justification along with min and max in your
index format?
{{{
set index_format="%-9.9s<<<"
}}}
This is working for me. The second and third mail have additional
multicolumn characters that are truncated and padded:
{{{
Re: Speci<<<
RE: 哀弔 <<<
RE: 我們 <<<
}}}
(By the way, in any case I believe your patch doesn't take destlen into
account, and so could overflow dest.)
I'm marking this as worksforme, but if I've misunderstood, please feel
free to reopen with more explanation.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3814#comment:3>
Mutt <http://www.mutt.org/>
The Mutt mail user agent