zsh-workers
 help / color / mirror / code / Atom feed
From: Nicholas Sterling <nicholas.sterling@gmail.com>
To: zsh-workers@zsh.org
Subject: Bug in RPROMPT code?
Date: Fri, 16 Dec 2016 05:30:46 -0600	[thread overview]
Message-ID: <F34B158F-30CE-4633-9435-22290668900B@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 394 bytes --]

Hi folks.  Is this a bug?  When I use %S%s to make the RPROMPT inverse video, zsh leaves a space at the end.  Without inverse video, it is flush with the margin.  Is it possible that the calculation to figure out at which column to start the RPROMPT is not taking into account that %s is non-printing?



This is obviously not critical, but I thought you would want to know.

Nicholas


[-- Attachment #2.1: Type: text/html, Size: 1000 bytes --]

[-- Attachment #2.2: Terminal_—_-zsh_—_39×44_and_Setup_Vim__Powerline_and_iTerm2_on_Mac_OS_X__Example_.png --]
[-- Type: image/png, Size: 12598 bytes --]

             reply	other threads:[~2016-12-16 11:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-16 11:30 Nicholas Sterling [this message]
2016-12-16 12:07 ` Nikolay Aleksandrovich Pavlov (ZyX)
2016-12-16 21:00   ` Nicholas Sterling

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=F34B158F-30CE-4633-9435-22290668900B@gmail.com \
    --to=nicholas.sterling@gmail.com \
    --cc=zsh-workers@zsh.org \
    /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).