… | |
… | |
50 | #undef LINENO |
50 | #undef LINENO |
51 | #define LINENO(n) MOD (THIS->term_start + int(n), THIS->total_rows) |
51 | #define LINENO(n) MOD (THIS->term_start + int(n), THIS->total_rows) |
52 | #undef ROW |
52 | #undef ROW |
53 | #define ROW(n) THIS->row_buf [LINENO (n)] |
53 | #define ROW(n) THIS->row_buf [LINENO (n)] |
54 | |
54 | |
55 | typedef int CHAINED UNUSED; |
|
|
56 | |
|
|
57 | ///////////////////////////////////////////////////////////////////////////// |
55 | ///////////////////////////////////////////////////////////////////////////// |
58 | |
56 | |
59 | static wchar_t * |
57 | static wchar_t * |
60 | sv2wcs (SV *sv) |
58 | sv2wcs (SV *sv) |
61 | { |
59 | { |
… | |
… | |
304 | } |
302 | } |
305 | |
303 | |
306 | ///////////////////////////////////////////////////////////////////////////// |
304 | ///////////////////////////////////////////////////////////////////////////// |
307 | |
305 | |
308 | #define IOM_CLASS "urxvt" |
306 | #define IOM_CLASS "urxvt" |
|
|
307 | #define IOM_WARN rxvt_warn |
309 | #include <iom_perl.h> |
308 | #include <iom_perl.h> |
310 | |
309 | |
311 | ///////////////////////////////////////////////////////////////////////////// |
310 | ///////////////////////////////////////////////////////////////////////////// |
312 | |
311 | |
313 | struct rxvt_perl_interp rxvt_perl; |
312 | struct rxvt_perl_interp rxvt_perl; |
… | |
… | |
1475 | |
1474 | |
1476 | const char * |
1475 | const char * |
1477 | rxvt_term::x_resource (const char *name) |
1476 | rxvt_term::x_resource (const char *name) |
1478 | |
1477 | |
1479 | bool |
1478 | bool |
1480 | rxvt_term::option (U32 optval, int set = -1) |
1479 | rxvt_term::option (U8 optval, int set = -1) |
1481 | CODE: |
1480 | CODE: |
1482 | { |
1481 | { |
1483 | RETVAL = THIS->options & optval; |
1482 | RETVAL = THIS->option (optval); |
1484 | |
1483 | |
1485 | if (set >= 0) |
1484 | if (set >= 0) |
1486 | { |
1485 | { |
1487 | if (set) |
|
|
1488 | THIS->options |= optval; |
1486 | THIS->set_option (optval, set); |
1489 | else |
|
|
1490 | THIS->options &= ~optval; |
|
|
1491 | |
1487 | |
1492 | if (THIS->check_ev.is_active ()) // avoid doing this before START |
1488 | if (THIS->check_ev.is_active ()) // avoid doing this before START |
1493 | switch (optval) |
1489 | switch (optval) |
1494 | { |
1490 | { |
1495 | case Opt_skipBuiltinGlyphs: |
1491 | case Opt_skipBuiltinGlyphs: |