… | |
… | |
247 | # define COLORTERMENVFULL COLORTERMENV "-xpm" |
247 | # define COLORTERMENVFULL COLORTERMENV "-xpm" |
248 | #else |
248 | #else |
249 | # define COLORTERMENVFULL COLORTERMENV |
249 | # define COLORTERMENVFULL COLORTERMENV |
250 | #endif |
250 | #endif |
251 | #ifndef TERMENV |
251 | #ifndef TERMENV |
|
|
252 | # ifdef USE_256_COLORS |
|
|
253 | # define TERMENV "rxvt-unicode-256color" |
|
|
254 | # else |
252 | # define TERMENV "rxvt-unicode" |
255 | # define TERMENV "rxvt-unicode" |
|
|
256 | # endif |
253 | #endif |
257 | #endif |
254 | |
258 | |
255 | #if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR) |
259 | #if defined (NO_MOUSE_REPORT) && !defined (NO_MOUSE_REPORT_SCROLLBAR) |
256 | # define NO_MOUSE_REPORT_SCROLLBAR 1 |
260 | # define NO_MOUSE_REPORT_SCROLLBAR 1 |
257 | #endif |
261 | #endif |
… | |
… | |
303 | /* arguments for rxvt_scr_change_screen () */ |
307 | /* arguments for rxvt_scr_change_screen () */ |
304 | enum { |
308 | enum { |
305 | PRIMARY = 0, |
309 | PRIMARY = 0, |
306 | SECONDARY, |
310 | SECONDARY, |
307 | }; |
311 | }; |
|
|
312 | |
|
|
313 | // define various rendition bits and masks. the rendition word |
|
|
314 | // is 32 bits in size, and we should use it as efficiently as possible |
308 | |
315 | |
309 | #define RS_None 0 |
316 | #define RS_None 0 |
310 | |
317 | |
311 | // GET_BGATTR depends on RS_fgShift > RS_bgShift |
318 | // GET_BGATTR depends on RS_fgShift > RS_bgShift |
312 | #define RS_colorMask ((1UL << Color_Bits) - 1UL) |
319 | #define RS_colorMask ((1UL << Color_Bits) - 1UL) |
… | |
… | |
482 | #if ENABLE_FRILLS |
489 | #if ENABLE_FRILLS |
483 | Color_underline, |
490 | Color_underline, |
484 | #endif |
491 | #endif |
485 | #ifdef OPTION_HC |
492 | #ifdef OPTION_HC |
486 | Color_HC, |
493 | Color_HC, |
|
|
494 | Color_HTC, |
487 | #endif |
495 | #endif |
488 | Color_scroll, |
496 | Color_scroll, |
489 | #ifdef RXVT_SCROLLBAR |
497 | #ifdef RXVT_SCROLLBAR |
490 | Color_trough, |
498 | Color_trough, |
491 | #endif |
499 | #endif |
… | |
… | |
954 | scrollBar_t scrollBar; |
962 | scrollBar_t scrollBar; |
955 | uint8_t options[(Opt_count + 7) >> 3]; |
963 | uint8_t options[(Opt_count + 7) >> 3]; |
956 | XSizeHints szHint; |
964 | XSizeHints szHint; |
957 | rxvt_color *pix_colors; |
965 | rxvt_color *pix_colors; |
958 | Cursor TermWin_cursor; /* cursor for vt window */ |
966 | Cursor TermWin_cursor; /* cursor for vt window */ |
959 | int numlock_state; |
|
|
960 | line_t *row_buf; // all lines, scrollback + terminal, circular, followed by temp_buf |
967 | line_t *row_buf; // all lines, scrollback + terminal, circular, followed by temp_buf |
961 | line_t *drawn_buf; // text on screen |
968 | line_t *drawn_buf; // text on screen |
962 | line_t *swap_buf; // lines for swap buffer |
969 | line_t *swap_buf; // lines for swap buffer |
963 | char *tabs; /* per location: 1 == tab-stop */ |
970 | char *tabs; /* per location: 1 == tab-stop */ |
964 | screen_t screen; |
971 | screen_t screen; |