--- rxvt-unicode/src/rxvt.C 2006/02/20 22:42:00 1.15 +++ rxvt-unicode/src/rxvt.C 2011/02/21 07:41:02 1.21 @@ -3,7 +3,7 @@ *----------------------------------------------------------------------* * * All portions of code are copyright by their respective author/s. - * Copyright (c) 2003-2006 Marc Lehmann + * Copyright (c) 2003-2006 Marc Lehmann * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,6 +30,7 @@ main (int argc, const char *const *argv) try { + ptytty::init (); rxvt_init (); rxvt_term *t = new rxvt_term; @@ -46,13 +47,12 @@ envv->push_back (0); - if (!t->init (args, envv)) + t->init (args, envv); #else - if (!t->init (argc, argv, 0)) + t->init (argc, argv, 0); #endif - return EXIT_FAILURE; - io_manager::loop (); + ev_run (); return EXIT_SUCCESS; }