zsh-workers
 help / color / mirror / code / Atom feed
* zle_refresh bug fix
@ 1996-11-13 12:57 Geoff Wing
  0 siblings, 0 replies; only message in thread
From: Geoff Wing @ 1996-11-13 12:57 UTC (permalink / raw)
  To: zsh-workers

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-11-13 13:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-13 12:57 zle_refresh bug fix Geoff Wing

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