… | |
… | |
31 | #include <cstddef> |
31 | #include <cstddef> |
32 | #include <cstdarg> |
32 | #include <cstdarg> |
33 | |
33 | |
34 | #include "unistd.h" |
34 | #include "unistd.h" |
35 | |
35 | |
36 | #include "iom.h" |
36 | #include "ev_cpp.h" |
37 | #include "rxvt.h" |
37 | #include "rxvt.h" |
38 | #include "keyboard.h" |
38 | #include "keyboard.h" |
39 | #include "rxvtutil.h" |
39 | #include "rxvtutil.h" |
40 | #include "rxvtperl.h" |
40 | #include "rxvtperl.h" |
41 | |
41 | |
… | |
… | |
775 | _exit (int status) |
775 | _exit (int status) |
776 | |
776 | |
777 | NV |
777 | NV |
778 | NOW () |
778 | NOW () |
779 | CODE: |
779 | CODE: |
780 | RETVAL = NOW; |
780 | RETVAL = ev::now (); |
781 | OUTPUT: |
781 | OUTPUT: |
782 | RETVAL |
782 | RETVAL |
783 | |
783 | |
784 | int |
784 | int |
785 | GET_BASEFG (int rend) |
785 | GET_BASEFG (int rend) |
… | |
… | |
1139 | if (*i) |
1139 | if (*i) |
1140 | PUSHs (sv_2mortal (newSVpv (*i, 0))); |
1140 | PUSHs (sv_2mortal (newSVpv (*i, 0))); |
1141 | } |
1141 | } |
1142 | |
1142 | |
1143 | int |
1143 | int |
1144 | rxvt_term::pty_ev_events (int events = EVENT_UNDEF) |
1144 | rxvt_term::pty_ev_events (int events = ev::UNDEF) |
1145 | CODE: |
1145 | CODE: |
1146 | RETVAL = THIS->pty_ev.events; |
1146 | RETVAL = THIS->pty_ev.events; |
1147 | if (events != EVENT_UNDEF) |
1147 | if (events != ev::UNDEF) |
1148 | THIS->pty_ev.set (events); |
1148 | THIS->pty_ev.set (events); |
1149 | OUTPUT: |
1149 | OUTPUT: |
1150 | RETVAL |
1150 | RETVAL |
1151 | |
1151 | |
1152 | int |
1152 | int |
… | |
… | |
1476 | |
1476 | |
1477 | if (set >= 0) |
1477 | if (set >= 0) |
1478 | { |
1478 | { |
1479 | THIS->set_option (optval, set); |
1479 | THIS->set_option (optval, set); |
1480 | |
1480 | |
1481 | if (THIS->check_ev.is_active ()) // avoid doing this before START |
1481 | if (THIS->prepare_ev.is_active ()) // avoid doing this before START |
1482 | switch (optval) |
1482 | switch (optval) |
1483 | { |
1483 | { |
1484 | case Opt_skipBuiltinGlyphs: |
1484 | case Opt_skipBuiltinGlyphs: |
1485 | THIS->set_fonts (); |
1485 | THIS->set_fonts (); |
1486 | THIS->scr_remap_chars (); |
1486 | THIS->scr_remap_chars (); |