Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zle_refresh.c patch on beta13
- X-seq: zsh-workers 737
- From: Geoff Wing <mason@xxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (zsh-list)
- Subject: zle_refresh.c patch on beta13
- Date: Tue, 16 Jan 1996 01:42:06 +1100 (EST)
Heyla, this should (hopefully) fix the problems with line refresh.
It's a diff on zle_refresh.c with beta13.
am_char has been removed and nbuf is accessed directly.
44c44
< any queries about updates to mason@xxxxxxxxxxxxxxxxxx */
---
> any queries about updates to mason@xxxxxxxxxxxxxxxxxxx */
58a59
> static char am_char = ' '; /* first col char if needed for automargin */
105c106
< if (showinglist > 0)
---
> if(showinglist > 0)
174c175
< if (inlist)
---
> if(inlist)
409c410
< if (showinglist == -2 || (showinglist > 0 && showinglist < nlnct)) {
---
> if(showinglist == -2 || (showinglist > 0 && showinglist < nlnct)) {
415c416
< if (showinglist == -1)
---
> if(showinglist == -1)
482c483,487
< /* 3: main display loop - write out the buffer using whatever tricks we can */
---
> /* 3: set character for first column, in case automargin stuff needs doing:
> to begin with, this is the first char of the old screen line, if any. */
> am_char = *ol ? *ol : *nl;
>
> /* 4: main display loop - write out the buffer using whatever tricks we can */
492,493c497
< if (tccan(TCCLEAREOL) && (char_ins >= tclen[TCCLEAREOL]) &&
< (!hasam || ln == nlnct - 1))
---
> if (tccan(TCCLEAREOL) && (char_ins >= tclen[TCCLEAREOL]))
601,604c605
< if ((vln < nlnct - 1) && *nbuf[vln + 1])
< putc(*nbuf[vln + 1], shout);
< else
< putc(' ', shout);
---
> putc(am_char, shout);
609a611
> am_char = ' ';
--
Mason [G.C.W] mason@xxxxxxxxxxxxxxxxxx "Hurt...Agony...Pain...LOVE-IT"
Messages sorted by:
Reverse Date,
Date,
Thread,
Author