diff options
| author | Mateja <mail@matejamaric.com> | 2021-04-09 22:32:29 +0200 | 
|---|---|---|
| committer | Mateja <mail@matejamaric.com> | 2021-04-09 22:32:29 +0200 | 
| commit | 09f652d8aff93ba8b7e96d07a58c1aa520f44a2f (patch) | |
| tree | f6203d39ba452d487358a49821b99a0a65a90e94 | |
| parent | e2a49699774c0256f6c745c55f42c7c56a5e0d95 (diff) | |
| download | st-09f652d8aff93ba8b7e96d07a58c1aa520f44a2f.tar.gz st-09f652d8aff93ba8b7e96d07a58c1aa520f44a2f.zip | |
Applied second `scrollback` patch.
Allows scrolling using Shift+MouseWheel.
| -rw-r--r-- | config.def.h | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/config.def.h b/config.def.h index db84198..bdeeca4 100644 --- a/config.def.h +++ b/config.def.h @@ -189,6 +189,8 @@ static uint forcemousemod = ShiftMask;   */  static MouseShortcut mshortcuts[] = {  	/* mask                 button   function        argument       release */ +	{ ShiftMask,            Button4, kscrollup,      {.i = 1} }, +	{ ShiftMask,            Button5, kscrolldown,    {.i = 1} },  	{ XK_ANY_MOD,           Button2, selpaste,       {.i = 0},      1 },  	{ ShiftMask,            Button4, ttysend,        {.s = "\033[5;2~"} },  	{ XK_ANY_MOD,           Button4, ttysend,        {.s = "\031"} }, | 
