st-flexipatch

My st-flexipatch configuration
git clone git://git.ethandl.dev/st-flexipatch
Log | Files | Refs | README | LICENSE

scrollback.h (494B)


      1 #define TLINE(y) ((y) < term.scr ? term.hist[((y) + term.histi - \
      2                      term.scr + HISTSIZE + 1) % HISTSIZE] : \
      3                      term.line[(y) - term.scr])
      4 
      5 void kscrolldown(const Arg *);
      6 void kscrollup(const Arg *);
      7 
      8 #if SCROLLBACK_MOUSE_PATCH || SCROLLBACK_MOUSE_ALTSCREEN_PATCH
      9 typedef struct {
     10 	 uint b;
     11 	 uint mask;
     12 	 void (*func)(const Arg *);
     13 	 const Arg arg;
     14 } MouseKey;
     15 
     16 extern MouseKey mkeys[];
     17 #endif // SCROLLBACK_MOUSE_PATCH / SCROLLBACK_MOUSE_ALTSCREEN_PATCH