osc133 - changing default configuration options to Ctrl + PgUp/PgDown

This commit is contained in:
Bakkeby 2024-10-01 21:39:50 +02:00
parent 398aeb1cd6
commit c9390f2ca7
2 changed files with 5 additions and 3 deletions

View File

@ -468,8 +468,8 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_X, invert, { 0 } },
#endif // INVERT_PATCH
#if OSC133_PATCH
{ TERMMOD, XK_Z, scrolltoprompt, {.i = -1}, S_PRI },
{ TERMMOD, XK_X, scrolltoprompt, {.i = 1}, S_PRI },
{ ControlMask, XK_Page_Up, scrolltoprompt, {.i = -1}, S_PRI },
{ ControlMask, XK_Page_Down, scrolltoprompt, {.i = 1}, S_PRI },
#endif // OSC133_PATCH
};

View File

@ -1,4 +1,6 @@
void scrolltoprompt(const Arg *arg) {
void
scrolltoprompt(const Arg *arg)
{
int x, y;
#if REFLOW_PATCH
int top = term.scr - term.histf;