config.def.h - scroll - scrollbackbuffer program for st
 (HTM) git clone git://git.suckless.org/scroll
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       config.def.h (609B)
       ---
            1 /*
            2  * Define ESC sequences to use for scroll events.
            3  * Use "cat -v" to figure out favorite key combination.
            4  *
            5  * lines is the number of lines scrolled up or down.
            6  * If lines is negative, it's the fraction of the terminal size.
            7  */
            8 
            9 struct rule rules[] = {
           10         /* sequence     event        lines */
           11         {"\033[5;2~",   SCROLL_UP,   -1},        /* [Shift] + [PageUP] */
           12         {"\033[6;2~",   SCROLL_DOWN, -1},        /* [Shift] + [PageDown] */
           13         /* mouse binding shadows ^E and ^Y, so it's disabled by default */
           14         //{"\031",        SCROLL_UP,    1},        /* mouse wheel up */
           15         //{"\005",        SCROLL_DOWN,  1},        /* mouse wheel Down */
           16 };