… | |
… | |
28 | |
28 | |
29 | int |
29 | int |
30 | main (int argc, const char *const *argv) |
30 | main (int argc, const char *const *argv) |
31 | try |
31 | try |
32 | { |
32 | { |
|
|
33 | ptytty::init (); |
33 | rxvt_init (); |
34 | rxvt_init (); |
34 | |
35 | |
35 | rxvt_term *t = new rxvt_term; |
36 | rxvt_term *t = new rxvt_term; |
36 | |
37 | |
37 | #if ENABLE_PERL |
38 | #if ENABLE_PERL |
… | |
… | |
49 | t->init (args, envv); |
50 | t->init (args, envv); |
50 | #else |
51 | #else |
51 | t->init (argc, argv, 0); |
52 | t->init (argc, argv, 0); |
52 | #endif |
53 | #endif |
53 | |
54 | |
54 | ev_loop (0); |
55 | ev_run (); |
55 | |
56 | |
56 | return EXIT_SUCCESS; |
57 | return EXIT_SUCCESS; |
57 | } |
58 | } |
58 | catch (const class rxvt_failure_exception &e) |
59 | catch (const class rxvt_failure_exception &e) |
59 | { |
60 | { |