> @@ -753,14 +752,13 @@ selsnap(int *x, int *y, int direction) { > > gp = &term.line[newy][newx]; > delim = ISDELIM(gp->u); > - if(!(gp->mode & ATTR_WDUMMY) && (delim != prevdelim > + if(!(gp->mode & ATTR_WDUMMY) && (delim != > ISDELIM(prevgp->u)
I prefer the current code because your code implies this code in all the iterations: (BETWEEN(u, 0, 127) && strchr(worddelimiters, u) != NULL) and I think is better to hold the result in prevdelim. Regards,