term_mouse (b, lastact, x, y);
term_mouse (b, lastact, x, y, shift, ctrl);
static void click (Mouse_Button b, int x, int y) {    int thistime = GetMessageTime();    if (lastbtn == b && thistime - lasttime < dbltime) {	lastact = (lastact == MA_CLICK ? MA_2CLK :		   lastact == MA_2CLK ? MA_3CLK :		   lastact == MA_3CLK ? MA_CLICK : MA_NOTHING);    } else {	lastbtn = b;	lastact = MA_CLICK;    }    if (lastact != MA_NOTHING)	term_mouse (b, lastact, x, y);    lasttime = thistime;}