| 1 |
pcg |
1.7 |
#include "../config.h" |
| 2 |
|
|
#include "rxvt.h" |
| 3 |
pcg |
1.1 |
|
| 4 |
|
|
/*----------------------------------------------------------------------*/ |
| 5 |
pcg |
1.6 |
/* main () */ |
| 6 |
pcg |
1.1 |
int |
| 7 |
pcg |
1.6 |
main (int argc, const char *const *argv) |
| 8 |
pcg |
1.7 |
try |
| 9 |
|
|
{ |
| 10 |
|
|
rxvt_init_signals (); |
| 11 |
pcg |
1.4 |
|
| 12 |
pcg |
1.7 |
rxvt_term *t = new rxvt_term; |
| 13 |
|
|
|
| 14 |
|
|
if (!t->init (argc, argv)) |
| 15 |
|
|
return EXIT_FAILURE; |
| 16 |
pcg |
1.1 |
|
| 17 |
pcg |
1.7 |
iom.loop (); |
| 18 |
pcg |
1.2 |
|
| 19 |
pcg |
1.7 |
return EXIT_SUCCESS; |
| 20 |
|
|
} |
| 21 |
|
|
catch (const class rxvt_failure_exception &e) |
| 22 |
|
|
{ |
| 23 |
|
|
return EXIT_FAILURE; |
| 24 |
|
|
} |