zsh-users
 help / color / mirror / code / Atom feed
From: Andrew Main <zefram@tao.co.uk>
To: stucki@math.fu-berlin.de
Cc: zsh-users@math.gatech.edu
Subject: Re: Zsh question (more smileys in the prompt)
Date: Thu, 26 Mar 1998 18:40:39 +0000 (GMT)	[thread overview]
Message-ID: <199803261840.SAA16193@taos.demon.co.uk> (raw)
In-Reply-To: <Pine.GSO.3.95q.980326123805.4625A-100000@petzval> from "C. v. Stuckrad" at Mar 26, 98 12:58:34 pm

C. v. Stuckrad wrote:
>AND I have a problem with LINUX-console color-prompts which 
>on being redrawn by (eg.: ^L at the top of the screen)
>loose a blank and then edit of by one (no idea where this comes from).
>
>Any ideas how %{...ansi-color-sequences...} might differ in length
>between the first time it is done (_typed_) and all the latter times
>when it's _redrawn_ to be edited ?

The only phenomenon I've seen that behaves like that is nothing to
do with escape sequences in the prompt.  In zsh version up to 3.1.2,
if the `correct' length of the prompt changes -- e.g., if you have
the corrent directory in the prompt and then change directory -- then
ZLE can think the prompt has changed length without actually changing
what's on the screen.  Could that be happening here?  (This bug is fixed
in 3.1.2-zefram3.)

If that's not it, could you post your prompt setting please?

-zefram


  reply	other threads:[~1998-03-26 18:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.GSO.3.96.980325155059.26447D-100000@flivoreuse>
1998-03-25 17:27 ` Zsh question Andrew Main
1998-03-26 11:58   ` Zsh question (more smileys in the prompt) C. v. Stuckrad
1998-03-26 18:40     ` Andrew Main [this message]
1998-03-26 21:25     ` Funky zsh prompts Adam Spiers
1998-03-26 22:11       ` Mike Smith
1998-03-31 18:27         ` Sven Guckes

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=199803261840.SAA16193@taos.demon.co.uk \
    --to=zefram@tao.co.uk \
    --cc=stucki@math.fu-berlin.de \
    --cc=zsh-users@math.gatech.edu \
    /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).