You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
494 B
18 lines
494 B
3 years ago
|
#define TLINE(y) ((y) < term.scr ? term.hist[((y) + term.histi - \
|
||
|
term.scr + HISTSIZE + 1) % HISTSIZE] : \
|
||
|
term.line[(y) - term.scr])
|
||
|
|
||
|
void kscrolldown(const Arg *);
|
||
|
void kscrollup(const Arg *);
|
||
|
|
||
|
#if SCROLLBACK_MOUSE_PATCH || SCROLLBACK_MOUSE_ALTSCREEN_PATCH
|
||
|
typedef struct {
|
||
|
uint b;
|
||
|
uint mask;
|
||
|
void (*func)(const Arg *);
|
||
|
const Arg arg;
|
||
|
} MouseKey;
|
||
|
|
||
|
extern MouseKey mkeys[];
|
||
|
#endif // SCROLLBACK_MOUSE_PATCH / SCROLLBACK_MOUSE_ALTSCREEN_PATCH
|