diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-05-16 11:17:59 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-05-16 11:17:59 +0200 |
| commit | 123bae234ea05efa8221cfb412572b618719e070 (patch) | |
| tree | a4f4a2ca14baa7542233c0ad54514ff98abfea3e /patches/scrollback-mouse.diff | |
| parent | 045a0fab4f80b57f4a982ae6bc5f33fe21d66111 (diff) | |
| download | st-123bae234ea05efa8221cfb412572b618719e070.tar.gz st-123bae234ea05efa8221cfb412572b618719e070.tar.bz2 st-123bae234ea05efa8221cfb412572b618719e070.zip | |
Updated to 0.8.3 with previous config + mouse scrollback
Diffstat (limited to 'patches/scrollback-mouse.diff')
| -rw-r--r-- | patches/scrollback-mouse.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/scrollback-mouse.diff b/patches/scrollback-mouse.diff new file mode 100644 index 0000000..49eba8e --- /dev/null +++ b/patches/scrollback-mouse.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"} }, |
