zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk
Subject: Re: PATCH: Column alignment with print -c -P
Date: Wed, 25 Mar 2009 09:53:41 +0000	[thread overview]
Message-ID: <20090325095341.4aec13a0@news01> (raw)
In-Reply-To: <729130.32040.qm@web37303.mail.mud.yahoo.com>

On Tue, 24 Mar 2009 16:11:12 -0700 (PDT)
Michael Hwang <nomex45@yahoo.com> 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@csr.com>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


      reply	other threads:[~2009-03-25  9:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24 23:11 Michael Hwang
2009-03-25  9:53 ` Peter Stephenson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090325095341.4aec13a0@news01 \
    --to=pws@csr.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).