Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [tip] mouse and mouse-wheel support!
On Mon, Nov 15, 2004 at 12:21:34PM +0000, Stephane Chazelas wrote:
[...]
> XTerm.VT100.translations: #override\
> Mod4 <Btn1Down>,<Btn1Up>: string(0x1b) string("[M ") dired-button()\n\
> Mod4 <Btn2Down>,<Btn2Up>: string(0x1b) string("[M!") dired-button()\n\
> Mod4 <Btn3Down>,<Btn3Up>: string(0x1b) string("[M") string(0x22) dired-button()\n\
> Mod4 <Btn5Down>,<Btn5Up>: string(0xe)\n\
> Mod4 <Btn4Down>,<Btn4Up>: string(0x10)
[...]
I've experienced weird xterm behaviors with the above, this one
works better:
XTerm.VT100.translations: #override\
Mod4 <Btn1Down>: ignore()\n\
Mod4 <Btn2Down>: ignore()\n\
Mod4 <Btn3Down>: ignore()\n\
Mod4 <Btn1Up>: string(0x1b) string("[M ") dired-button()\n\
Mod4 <Btn2Up>: string(0x1b) string("[M!") dired-button()\n\
Mod4 <Btn3Up>: string(0x1b) string("[M") string(0x22) dired-button()\n\
Mod4 <Btn5Down>,<Btn5Up>: string(0xe)\n\
Mod4 <Btn4Down>,<Btn4Up>: string(0x10)
--
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author