zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk
Subject: Re: PATCH: (one-liner) adjustwinsize doesn't update prompt string
Date: Mon, 08 Aug 2005 11:32:38 +0100	[thread overview]
Message-ID: <200508081032.j78AWcfg008014@news01.csr.com> (raw)
In-Reply-To: <200508061220.24187.dan@bullok.com>

Dan Bullok wrote:
> 
> zsh 4.2.5 does not re-evaluate the prompt string when the window size
> changes.
> When the window size changes, it seems to me that zle should know about it,
> and redisplay the prompt appropriately. Most of the two line prompts get
> very screwed up on a window resize, and you have to hit enter for them to
> behave again.

I'll apply this (and to 4.3 where the code is slightly different).

> There's another closely related issue that's bugging me, which I don't have a
> fix for. When the window is resized, zsh keeps moving the prompt down a line
> at a time. This isn't a big deal, except that it often ends up causing the
> display to scroll up so that I can't see anything but the messed up prompt
> bits on screen. Is it necessary to do this when the display is updated? Is
> there a way to prevent it without messing everything else up? I've looked at
> zrefresh for a couple of hours, but I'm completely confused by it.

Yes, I can see this behaviour.  I'll try to remember to look and see
what's going on, unless Geoff has any ideas.

By the way, our mail scanning software (blackspider) decided there was a
virus (huntsman) in your script attachment.  It's presumably wrong, but
anyway the attachment got blocked.

-- 
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


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

**********************************************************************


  reply	other threads:[~2005-08-08 10:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-06 17:20 Dan Bullok
2005-08-08 10:32 ` Peter Stephenson [this message]
2005-08-08 17:58   ` Dan Bullok
2005-08-09 10:05     ` Peter Stephenson

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=200508081032.j78AWcfg008014@news01.csr.com \
    --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).