Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zle_refrech bug
- X-seq: zsh-workers 2404
- From: Geoff Wing <gwing@xxxxxxxxxxxxxxx>
- To: hzoli@xxxxxxxxxx (Zoltan Hidvegi)
- Subject: Re: zle_refrech bug
- Date: Thu, 14 Nov 1996 14:35:47 +1100 (EST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199611132210.XAA01414@xxxxxxxxxxxxxxxxx> from "Zoltan Hidvegi" at Nov 13, 96 11:10:42 pm
Zoltan Hidvegi wrote:
:After applying patches 2336, 2351, 2359, 2386 and 2387 from Geoff
:and doing:
You're still expecting me to be able to count.  I didn't get a degree with a
major in Maths for nothing, you know.
*** zle_refresh.c.~5~	Thu Nov 14 14:29:16 1996
--- zle_refresh.c	Thu Nov 14 14:31:53 1996
***************
*** 805,811 ****
  tc_rightcurs(int cl)
  {
      int ct,			/* number of characters to move across	    */
- 	horz_tabs,		/* number of horizontal tabs if we do them  */
  	i = vcs,		/* cursor position after initial movements  */
  	j;
      char *t;
--- 805,810 ----
***************
*** 820,827 ****
  
  /* try tabs if tabs are non destructive and multright is not possible */
      if (!oxtabs && tccan(TCNEXTTAB) && ((vcs | 7) < cl)) {
- 	horz_tabs = 1;
  	i = (vcs | 7) + 1;
  	for ( ; i + 8 <= cl; i += 8)
  	    tcout(TCNEXTTAB);
  	if ((ct = cl - i) == 0) /* number of chars still to move across */
--- 819,826 ----
  
  /* try tabs if tabs are non destructive and multright is not possible */
      if (!oxtabs && tccan(TCNEXTTAB) && ((vcs | 7) < cl)) {
  	i = (vcs | 7) + 1;
+ 	tcout(TCNEXTTAB);
  	for ( ; i + 8 <= cl; i += 8)
  	    tcout(TCNEXTTAB);
  	if ((ct = cl - i) == 0) /* number of chars still to move across */
-- 
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