… | |
… | |
2 | * command.h |
2 | * command.h |
3 | */ |
3 | */ |
4 | |
4 | |
5 | #ifndef COMMAND_H_ |
5 | #ifndef COMMAND_H_ |
6 | #define COMMAND_H_ |
6 | #define COMMAND_H_ |
7 | |
|
|
8 | // STRING_MAX __MUST__ not be larger than what CBUFSIZ can hold. |
|
|
9 | #define STRING_MAX 2048 /* max string size for process_rxvt_xterm_seq() */ |
|
|
10 | |
7 | |
11 | #define ESC_ARGS 32 /* max # of args for esc sequences */ |
8 | #define ESC_ARGS 32 /* max # of args for esc sequences */ |
12 | |
9 | |
13 | #ifndef MULTICLICK_TIME |
10 | #ifndef MULTICLICK_TIME |
14 | # define MULTICLICK_TIME 500 |
11 | # define MULTICLICK_TIME 500 |
… | |
… | |
16 | #ifndef SCROLLBAR_INITIAL_DELAY |
13 | #ifndef SCROLLBAR_INITIAL_DELAY |
17 | # define SCROLLBAR_INITIAL_DELAY 0.33 |
14 | # define SCROLLBAR_INITIAL_DELAY 0.33 |
18 | #endif |
15 | #endif |
19 | #ifndef SCROLLBAR_CONTINUOUS_DELAY |
16 | #ifndef SCROLLBAR_CONTINUOUS_DELAY |
20 | # define SCROLLBAR_CONTINUOUS_DELAY 0.05 |
17 | # define SCROLLBAR_CONTINUOUS_DELAY 0.05 |
21 | #endif |
|
|
22 | |
|
|
23 | /* |
|
|
24 | * key-strings: if only these keys were standardized <sigh> |
|
|
25 | */ |
|
|
26 | #ifdef LINUX_KEYS |
|
|
27 | # define KS_HOME "\033[1~" /* Home == Find */ |
|
|
28 | # define KS_END "\033[4~" /* End == Select */ |
|
|
29 | #else |
|
|
30 | # define KS_HOME "\033[7~" /* Home */ |
|
|
31 | # define KS_END "\033[8~" /* End */ |
|
|
32 | #endif |
18 | #endif |
33 | |
19 | |
34 | #ifdef SCROLL_ON_SHIFT |
20 | #ifdef SCROLL_ON_SHIFT |
35 | # define SCROLL_SHIFTKEY (shft) |
21 | # define SCROLL_SHIFTKEY (shft) |
36 | # define NOSCROLL_SHIFTKEY 0 |
22 | # define NOSCROLL_SHIFTKEY 0 |