zsh-workers
 help / color / mirror / code / Atom feed
* zle_refresh.c patch on beta13
@ 1996-01-15 14:42 Geoff Wing
  1996-01-15 15:29 ` Zefram
  0 siblings, 1 reply; 2+ messages in thread
From: Geoff Wing @ 1996-01-15 14:42 UTC (permalink / raw)
  To: zsh-list

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@werple.mira.net.au */
---
>    any queries about updates to mason@werple.apana.org.au */
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@werple.mira.net.au    "Hurt...Agony...Pain...LOVE-IT"


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

* Re: zle_refresh.c patch on beta13
  1996-01-15 14:42 zle_refresh.c patch on beta13 Geoff Wing
@ 1996-01-15 15:29 ` Zefram
  0 siblings, 0 replies; 2+ messages in thread
From: Zefram @ 1996-01-15 15:29 UTC (permalink / raw)
  To: Geoff Wing; +Cc: zsh-workers

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

Could we please have this as a context diff, and preferably in a
forward direction?

-zefram


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

end of thread, other threads:[~1996-01-15 15:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-01-15 14:42 zle_refresh.c patch on beta13 Geoff Wing
1996-01-15 15:29 ` Zefram

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