zsh-workers
 help / color / mirror / code / Atom feed
From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.dk
Subject: Re: Screen refresh problem with completion messages
Date: Mon, 7 May 2001 12:33:50 +0200 (MET DST)	[thread overview]
Message-ID: <200105071033.MAA02959@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: <1010504162206.ZM19282@candle.brasslantern.com>

Bart Schaefer wrote:

> ...
> 
> Note that the final close-quote is missing (so only 79 columns of the 80-
> column message were displayed).  Worse, however, is that the cursor is now
> over the `c' in the word `local', on the line above where it should be.
> 
> My guess is that the zle code thinks that all 80 columns were printed and
> thus that the line has wrapped, so it needed to move the cursor up two
> line; but some other part of the code is suppressing the 80th character
> in order to prevent the line from wrapping.  However, I'm not sure how to
> track it down.  Geoff or Sven?

This is yet another manifestation of the first bug in the BUGS file.

At least for the non-complist code, it actually prints all characters
and then outputs a CLEAREOL which removes the last character again.  For
complist I suspect something similar, although there seems to be
something else keeping the last character from being printed (or which
makes it be erased again).

The cursor positioning bug is caused by what you thought.

I'm not at all sure how to fix it.  We discussed it some time ago and
then again (shortly) when talking about open bugs before entering the
4.0-pre-state.  We wanted to have some function that outputs a string
and reports the number of lines needed, taking terminal capabilities
into account.  That function didn't appear and hence I couldn't change
the completion code to use it.  And I don't think I have enough
experience with different terminals to try to write that function myself.

So, what are we to do now?


Bye
  Sven


-- 
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


  reply	other threads:[~2001-05-07 10:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-04 16:22 Bart Schaefer
2001-05-07 10:33 ` Sven Wischnowsky [this message]
2001-05-07 14:34   ` Bart Schaefer
2001-05-08  8:11     ` PATCH: " Sven Wischnowsky

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=200105071033.MAA02959@beta.informatik.hu-berlin.de \
    --to=wischnow@informatik.hu-berlin.de \
    --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).