- /* Setup Curses */
- setlocale(LC_ALL, "");
- initscr();
- cbreak();
- noecho();
- keypad(stdscr, TRUE);
- start_color();
- curs_set(false);
- use_default_colors();
- mousemask(ALL_MOUSE_EVENTS, NULL);
-
- init_pair(COLOR_TITLE, COLOR_GREEN, -1);
- init_pair(COLOR_ERROR, COLOR_RED, -1);
-
- init_pair(COLOR_CLASS, COLOR_BLUE, -1);
- init_pair(COLOR_EC, COLOR_GREEN, -1);
- init_pair(COLOR_WORK, COLOR_MAGENTA, -1);
- init_pair(COLOR_OTHER, COLOR_RED, -1);
+ /* Configuration */
+ args_setup(argc, argv);
+ conf_setup(".lackeyrc", on_config);