JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied st-scrollback.diff
[st.git] / config.h
index 7d8d959..5c656b1 100644 (file)
--- a/config.h
+++ b/config.h
@@ -7,6 +7,7 @@
  */
 static char font[] = "Fantasque Sans Mono:pixelsize=16:antialias=true:autohint=false";
 static int borderpx = 1;
+static int histsize = 2000;
 static char shell[] = "/bin/sh";
 static char *utmp = NULL;
 
@@ -121,6 +122,8 @@ static Shortcut shortcuts[] = {
        { ShiftMask,            XK_Insert,      selpaste,       {.i =  0} },
        { MODKEY|ShiftMask,     XK_Insert,      clippaste,      {.i =  0} },
        { MODKEY,               XK_Num_Lock,    numlock,        {.i =  0} },
+       { ShiftMask,            XK_Page_Up,     kscrollup,      {.i = -1} },
+       { ShiftMask,            XK_Page_Down,   kscrolldown,    {.i = -1} },
 };
 
 /*