… | |
… | |
104 | Window vt; /* vt100 window */ |
104 | Window vt; /* vt100 window */ |
105 | GC gc; /* GC for drawing */ |
105 | GC gc; /* GC for drawing */ |
106 | Pixmap pixmap; |
106 | Pixmap pixmap; |
107 | rxvt_fontset *fontset; |
107 | rxvt_fontset *fontset; |
108 | rxvt_drawable *drawable; |
108 | rxvt_drawable *drawable; |
|
|
109 | uint16_t ascii_map[0x7f - 0x20]; // map ascii chars to fonts for speed |
109 | } TermWin_t; |
110 | } TermWin_t; |
110 | |
111 | |
111 | /* |
112 | /* |
112 | * screen accounting: |
113 | * screen accounting: |
113 | * screen_t elements |
114 | * screen_t elements |
… | |
… | |
202 | #define Opt_scrollWithBuffer (1UL<<17) |
203 | #define Opt_scrollWithBuffer (1UL<<17) |
203 | #define Opt_jumpScroll (1UL<<18) |
204 | #define Opt_jumpScroll (1UL<<18) |
204 | #define Opt_mouseWheelScrollPage (1UL<<19) |
205 | #define Opt_mouseWheelScrollPage (1UL<<19) |
205 | #define Opt_pointerBlank (1UL<<20) |
206 | #define Opt_pointerBlank (1UL<<20) |
206 | #define Opt_cursorBlink (1UL<<21) |
207 | #define Opt_cursorBlink (1UL<<21) |
|
|
208 | #define Opt_secondaryScreen (1UL<<22) |
|
|
209 | #define Opt_secondaryScroll (1UL<<23) |
207 | #ifdef NO_FRILLS |
210 | #ifdef NO_FRILLS |
208 | # define Opt_insecure 0 |
211 | # define Opt_insecure 0 |
|
|
212 | # define Opt_borderLess 0 |
209 | #else |
213 | #else |
210 | # define Opt_insecure (1UL<<22) // insecure esc sequences |
214 | # define Opt_insecure (1UL<<24) // insecure esc sequences |
|
|
215 | # define Opt_borderLess (1UL<<25) // mem borderless hints |
211 | #endif |
216 | #endif |
212 | #define Opt_secondaryScreen (1UL<<23) |
|
|
213 | #define Opt_secondaryScroll (1UL<<24) |
|
|
214 | /* place holder used for parsing command-line options */ |
217 | /* place holder used for parsing command-line options */ |
215 | #define Opt_Reverse (1UL<<30) |
218 | #define Opt_Reverse (1UL<<30) |
216 | #define Opt_Boolean (1UL<<31) |
219 | #define Opt_Boolean (1UL<<31) |
217 | |
220 | |
218 | #define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput | \ |
221 | #define DEFAULT_OPTIONS (Opt_scrollBar | Opt_scrollTtyOutput | \ |