EvalSelectUnit(buttonDownTime, defaultUnit) Time buttonDownTime; SelectUnit defaultUnit;
EvalSelectUnit(Time buttonDownTime, SelectUnit defaultUnit)
EvalSelectUnit(buttonDownTime, defaultUnit)    Time buttonDownTime;    SelectUnit defaultUnit;{    int delta;    if (lastButtonUpTime == (Time) 0) /* first time and once in a blue moon */	delta = term->screen.multiClickTime + 1;    else if (buttonDownTime > lastButtonUpTime) /* most of the time */	delta = buttonDownTime - lastButtonUpTime;    else /* time has rolled over since lastButtonUpTime */	delta = (((Time) ~0) - lastButtonUpTime) + buttonDownTime;    if (delta > term->screen.multiClickTime) {	numberOfClicks = 1;	return defaultUnit;    } else {	++numberOfClicks;	return ((selectUnit + 1) % NSELECTUNITS);    }}