1 COMMENT(-- $Id: rxvtRef-mouse.yo,v 1.2 2003-11-24 17:31:27 pcg Exp $ --)
6 dl(bf(tt(ESC [ M <b> <x> <y>)))
7 (report mouse position)
9 The lower 2 bits of bf(tt(<b>)) indicate the button:
11 dl(Button = bf(tt((<b> - SPACE) & 3)))
12 (0 = Button1 pressed nl()\
13 1 = Button2 pressed nl()\
14 2 = Button3 pressed nl()\
15 3 = button released (X11 mouse report))
18 The upper bits of bf(tt(<b>)) indicate the modifiers when the button was
19 pressed and are added together (X11 mouse report only):
22 dl(State = bf(tt((<b> - SPACE) & 60)))
26 32 = Double Click em((Rxvt extension)) nl()\
27 Col = bf(tt(<x> - SPACE)) nl()\
28 Row = bf(tt(<y> - SPACE)))