zsh-workers
 help / color / mirror / code / Atom feed
From: Geoff Wing <gwing@primenet.com.au>
To: zsh-workers@math.gatech.edu (zsh-workers)
Subject: zle_refresh bug fix
Date: Wed, 13 Nov 1996 23:57:34 +1100 (EST)	[thread overview]
Message-ID: <199611131257.XAA03613@coral.primenet.com.au> (raw)

Heyla,
  this has been causing some people problems.  Maybe I better remember how
  to count.

*** zle_refresh.c.~4~	Wed Nov 13 23:50:34 1996
--- zle_refresh.c	Wed Nov 13 23:52:34 1996
***************
*** 836,842 ****
  	    zwrite(lpptbuf + i, lpptlen - i, 1, shout);
  	else if (tccan(TCRIGHT) && (tclen[TCRIGHT] * ct <= lpptlen))
  	    /* it is cheaper to send TCRIGHT than reprint the whole prompt */
! 	    for ( ; ct--; )
  		tcout(TCRIGHT);
          else {
  	    if (i != 0)
--- 836,842 ----
  	    zwrite(lpptbuf + i, lpptlen - i, 1, shout);
  	else if (tccan(TCRIGHT) && (tclen[TCRIGHT] * ct <= lpptlen))
  	    /* it is cheaper to send TCRIGHT than reprint the whole prompt */
! 	    for (ct = pptw - i; ct--; )
  		tcout(TCRIGHT);
          else {
  	    if (i != 0)

-- 
Geoff Wing [gwing@primenet.com.au]   Technical Manager
  Phone    : +61-3-9818 2977	     PrimeNet - Internet Consultancy
  Facsimile: +61-3-9819 3788	     Web : <URL:http://www.primenet.com.au/>
  Mobile   : 0412 162 441


                 reply	other threads:[~1996-11-13 13:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=199611131257.XAA03613@coral.primenet.com.au \
    --to=gwing@primenet.com.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).