… | |
… | |
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; |
… | |
… | |
674 | const_iv (AnyModifier), |
673 | const_iv (AnyModifier), |
675 | |
674 | |
676 | const_iv (NoSymbol), |
675 | const_iv (NoSymbol), |
677 | const_iv (GrabModeSync), |
676 | const_iv (GrabModeSync), |
678 | const_iv (GrabModeAsync), |
677 | const_iv (GrabModeAsync), |
679 | |
|
|
680 | const_iv (EVENT_NONE), |
|
|
681 | const_iv (EVENT_READ), |
|
|
682 | const_iv (EVENT_WRITE), |
|
|
683 | |
678 | |
684 | const_iv (NoEventMask), |
679 | const_iv (NoEventMask), |
685 | const_iv (KeyPressMask), |
680 | const_iv (KeyPressMask), |
686 | const_iv (KeyReleaseMask), |
681 | const_iv (KeyReleaseMask), |
687 | const_iv (ButtonPressMask), |
682 | const_iv (ButtonPressMask), |