rxvtref-mouse.yo

来自「rxvt经典的linux下的终端.小巧实用」· YO 代码 · 共 30 行

YO
30
字号
COMMENT(-- $Id: rxvtRef-mouse.yo,v 1.2 1998/04/20 07:24:25 mason Exp $ --)label(Mouse)nsect(Mouse Reporting)startdl()    dl(bf(tt(ESC [ M <b> <x> <y>)))	(report mouse position)enddl()The lower 2 bits of bf(tt(<b>)) indicate the button:startdl()    dl(Button = bf(tt((<b> - SPACE) & 3)))	(0 = Button1 pressed nl()\	1 = Button2 pressed nl()\	2 = Button3 pressed nl()\	3 = button released (X11 mouse report))enddl()The upper bits of bf(tt(<b>)) indicate the modifiers when the button waspressed and are added together (X11 mouse report only):startdl()    dl(State = bf(tt((<b> - SPACE) & 60)))        (4 = Shift nl()\	8 = Meta nl()\	16 = Control nl()\	32 = Double Click em((Rxvt extension)) nl()\	Col = bf(tt(<x> - SPACE)) nl()\	Row = bf(tt(<y> - SPACE)))enddl()

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?