zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Re: PATCH: PROMPT_SP
Date: Sun, 24 Jul 2005 05:27:57 +0000	[thread overview]
Message-ID: <1050724052757.ZM20380@candle.brasslantern.com> (raw)
In-Reply-To: <20050723165301.GB16571@blorf.net>
In-Reply-To: <20050723171955.GC16571@blorf.net>

On Jul 23,  9:53am, Wayne Davison wrote:
} Subject: Re: PATCH: PROMPT_SP
}
} One way to deal with that would be to output some
} characters other than spaces that would only become visible when zsh
} makes a partial line visible.

What happens when THOSE characters cause the line to wrap?  You don't
know how many RI to emit (COLUMNS-7 is definitely wrong in your
example).  You can only do this right if you manage to do it with a
single character.

} Subject: Re: PATCH: PROMPT_SP
}
} I made the text bold too (if possible) and switched to using print
} with prompt expansion.

I was going to suggest that.  Perhaps '%B%S$%s%b' would do it, as long
as the user doesn't have promptsubst set; hrm.


  reply	other threads:[~2005-07-24  5:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-14 18:25 Wayne Davison
2005-07-15 17:55 ` Wayne Davison
2005-07-16 16:06   ` Bart Schaefer
2005-07-16 19:56     ` Wayne Davison
2005-07-18 10:32       ` Peter Stephenson
2005-07-18 18:13         ` Wayne Davison
2005-07-23 13:55           ` Bart Schaefer
2005-07-23 16:53             ` Wayne Davison
2005-07-23 17:19               ` Wayne Davison
2005-07-24  5:27                 ` Bart Schaefer [this message]
2005-07-24  6:10                   ` Wayne Davison
2005-07-24  9:49                     ` Bart Schaefer
2005-07-26 21:53                       ` Wayne Davison

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=1050724052757.ZM20380@candle.brasslantern.com \
    --to=schaefer@brasslantern.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).