all repos — dotfiles @ a9d88fbd77f9981feebf5d0e6b84f588d239c028

my *nix dotfiles

st/patches/st-scrollback-mouse-20191024-a2c479c.diff (view raw)

 1diff --git a/config.def.h b/config.def.h
 2index ec1b576..4b3bf15 100644
 3--- a/config.def.h
 4+++ b/config.def.h
 5@@ -163,6 +163,8 @@ static uint forcemousemod = ShiftMask;
 6  */
 7 static MouseShortcut mshortcuts[] = {
 8 	/* mask                 button   function        argument       release */
 9+	{ ShiftMask,            Button4, kscrollup,      {.i = 1} },
10+	{ ShiftMask,            Button5, kscrolldown,    {.i = 1} },
11 	{ XK_ANY_MOD,           Button2, selpaste,       {.i = 0},      1 },
12 	{ XK_ANY_MOD,           Button4, ttysend,        {.s = "\031"} },
13 	{ XK_ANY_MOD,           Button5, ttysend,        {.s = "\005"} },