From f16e95287f10085605a340b8f8af90834d12d7b1 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Sun, 18 Aug 2024 00:18:29 +0400 Subject: scroll updated so that it works with less --- config.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.h b/config.h index 747466e..2e546fe 100644 --- a/config.h +++ b/config.h @@ -179,10 +179,10 @@ static MouseShortcut mshortcuts[] = { { XK_NO_MOD, Button4, kscrollup, {.i = 1} }, { XK_NO_MOD, 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"} }, -// { ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} }, -// { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} }, + { ShiftMask, Button4, ttysend, {.s = "\033[5;2~"} }, + { XK_ANY_MOD, Button4, ttysend, {.s = "\031"} }, + { ShiftMask, Button5, ttysend, {.s = "\033[6;2~"} }, + { XK_ANY_MOD, Button5, ttysend, {.s = "\005"} }, }; /* Internal keyboard shortcuts. */ -- cgit v1.2.3