From: Geoff Wing <mason@werple.net.au>
To: zsh-workers@math.gatech.edu (zsh-list)
Subject: zle_refresh.c patch on beta13
Date: Tue, 16 Jan 1996 01:42:06 +1100 (EST) [thread overview]
Message-ID: <199601151442.BAA21834@werple.net.au> (raw)
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"
next reply other threads:[~1996-01-15 15:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-01-15 14:42 Geoff Wing [this message]
1996-01-15 15:29 ` Zefram
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=199601151442.BAA21834@werple.net.au \
--to=mason@werple.net.au \
--cc=zsh-workers@math.gatech.edu \
/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).