diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2021-09-12 18:29:56 +0400 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2021-09-12 18:29:56 +0400 |
| commit | 2faaa50b3725bded7b9a858b336a58293f769847 (patch) | |
| tree | cfedfb63419c29fab21da3dec89c25c80191bcfc /patches/st-scrollback-mouse-20191024-a2c479c.diff | |
| parent | cbb4606edfaf526c89e5574662272e7b0bda05a9 (diff) | |
Added patches oneclipboard, scrollback-mouse, scrollback-mouse-altscreen
Diffstat (limited to 'patches/st-scrollback-mouse-20191024-a2c479c.diff')
| -rw-r--r-- | patches/st-scrollback-mouse-20191024-a2c479c.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/st-scrollback-mouse-20191024-a2c479c.diff b/patches/st-scrollback-mouse-20191024-a2c479c.diff new file mode 100644 index 0000000..49eba8e --- /dev/null +++ b/patches/st-scrollback-mouse-20191024-a2c479c.diff @@ -0,0 +1,13 @@ +diff --git a/config.def.h b/config.def.h +index ec1b576..4b3bf15 100644 +--- a/config.def.h ++++ b/config.def.h +@@ -163,6 +163,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 }, + { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, + { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} }, |