Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: ZLE scrolly bugfix
- X-seq: zsh-workers 1686
- From: Geoff Wing <mason@xxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (zsh-list)
- Subject: Re: ZLE scrolly bugfix
- Date: Thu, 18 Jul 1996 04:38:38 +1000 (EST)
- Cc: A.Main@xxxxxxxxxxxxxxxxx
- In-reply-to: <7795.199607171117@xxxxxxxxxxxxxxxxxxxxxxx>
Zefram wrote:
:If the cursor gets onto the last line of the screen and there's
:more text off the bottom of the screen, it's possible to have the
:cursor over the <.... marker when it's really in the text hidden
:under that. Also, the cursor doesn't go onto the last position on
:the screen properly on a terminal that moves the cursor onto the
:next line as soon as something is written to the last column.
:I fix both of these problems by having refresh() avoid putting
:the cursor on the last line if possible. If there's no more text,
:obviously, it can't avoid putting the cursor there, but then it's
:not a problem.
Yep, these are bugs. However the patch doesn't fix these properly.
In nextline, if nvln == winh - 1 (or --ln as you put it), then
you would still need to scroll one line and adjust nvln.
I'll look at this (after I get some sleep).
I was thinking about breaking up scrollwindow() into scroll a single
line and scroll a half screen.
And for Zoltan and others who want to use zed to edit their stuff
and want half window scrolls, chuck "local BAUD=2400" at the top
somewhere. Other refresh styles will have to wait till after zsh 3.0
--
Mason [G.C.W] mason@xxxxxxxxxxxxxxxxxx "Hurt...Agony...Pain...LOVE-IT"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author