EditorButton(event) register XButtonEvent *event;
EditorButton(register XButtonEvent *event)
EditorButton(event)    register XButtonEvent *event;{	register TScreen *screen = &term->screen;	int pty = screen->respond;	char unsigned line[6];	register unsigned row, col;	int button, count = 0;	button = event->button - 1; 	row = (event->y - screen->border) / FontHeight(screen);	col = (event->x - OriginX(screen)) / FontWidth(screen);	if (screen->control_eight_bits) {		line[count++] = CSI;	} else {		line[count++] = ESC;		line[count++] = '[';	}	line[count++] = 'M';	if (screen->send_mouse_pos == 1) {		line[count++] = ' ' + button;	} else {		line[count++] = ' ' + (KeyState(event->state) << 2) + 			((event->type == ButtonPress)? button:3);	}	line[count++] = ' ' + col + 1;	line[count++] = ' ' + row + 1;	v_write(pty, (char *)line, count);}