Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zle_refresh bug fix
- X-seq: zsh-workers 2387
- From: Geoff Wing <gwing@xxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (zsh-workers)
- Subject: zle_refresh bug fix
- Date: Wed, 13 Nov 1996 23:57:34 +1100 (EST)
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@xxxxxxxxxxxxxxx] 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author