Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: Column alignment with print -c -P
- X-seq: zsh-workers 26779
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: Column alignment with print -c -P
- Date: Wed, 25 Mar 2009 09:53:41 +0000
- In-reply-to: <729130.32040.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <729130.32040.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Tue, 24 Mar 2009 16:11:12 -0700 (PDT)
Michael Hwang <nomex45@xxxxxxxxx> wrote:
> This fixes misaligned columns when using %B, %U, %S, %F, or %K prompt
> expansions with the -c/-C option of the print builtin. This fix only
> affects those who have multibyte enabled.
Thanks, that's an improvement: it ought in principle to be able to do this
by propagating the information that's generated for real prompts about the
presence of escape sequences. However, that's an extremely minor case and
the print code is complicated enough already, so I've just made a comment
about it.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author