st-scrollback-mouse

Signed-off-by: Debucquoy <debucqquoy.anthony@gmail.com>
This commit is contained in:
asparagii 2022-01-27 15:44:02 +01:00 committed by Debucquoy
parent 62b2a7eb60
commit 5ad60325b9
Signed by: tonitch
GPG Key ID: A78D6421F083D42E

View File

@ -179,6 +179,8 @@ static uint forcemousemod = ShiftMask;
*/ */
static MouseShortcut mshortcuts[] = { static MouseShortcut mshortcuts[] = {
/* mask button function argument release */ /* mask button function argument release */
{ ShiftMask, Button4, kscrollup, {.i = 1} },
{ ShiftMask, Button5, kscrolldown, {.i = 1} },
{ XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 }, { XK_ANY_MOD, Button2, selpaste, {.i = 0}, 1 },
{ ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} }, { ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} },
{ XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} },