zsh-workers
 help / color / mirror / code / Atom feed
* Re: Problem with cursor position after wrapped completion lists
@ 1999-07-08  9:35 Sven Wischnowsky
  1999-07-08 10:04 ` Andrej Borsenkow
  0 siblings, 1 reply; 10+ messages in thread
From: Sven Wischnowsky @ 1999-07-08  9:35 UTC (permalink / raw)
  To: zsh-workers


Oliver Kiddle wrote:

> I tried it again and it seemed to work fine in the new xterms and
> aixterms which I created but after looking back in the aixterm where I'd
> had the problems, I realised what the cause was. There was one
> line in the list which was exactly 80 ($COLUMNS) characters wide.
> 
> xterm and aixterm seem to treat this differently: aixterm gives me a blank
> line after it whereas xterm doesn't. Zsh then places the cursor correctly
> only with the xterm.

Hm. I've had a look at this: the only solution I see is to make the
code check if the line it just printed is COLUMNS characters long
whenever it wants to print a newline. Since there are several ways how 
the different things are printed (display-lists, explanation strings, 
matches), fixing this can get quite ugly, so I better ask first: does
anybody see a better solution than to keep track of the number of
characters printed?

Bye
 Sven


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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~1999-07-09  8:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-08  9:35 Problem with cursor position after wrapped completion lists Sven Wischnowsky
1999-07-08 10:04 ` Andrej Borsenkow
1999-07-08 10:18   ` Correction :-( " Andrej Borsenkow
1999-07-08 11:26     ` 4855 does not work in all cases Andrej Borsenkow
1999-07-08 12:09       ` Oliver Kiddle
1999-07-08 12:56         ` Andrej Borsenkow
1999-07-08 14:39           ` Oliver Kiddle
1999-07-08 15:26             ` Andrej Borsenkow
1999-07-09  8:42               ` Oliver Kiddle
1999-07-09  3:44       ` Geoff Wing

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