void curses_initialize(void)
{
- if (initscr () == NULL) {
- puts _("Error initializing terminal.");
- exit (1);
- }
+ initscr();
ci_start_color();
- keypad(stdscr, true);
- cbreak();
noecho();
- typeahead (-1); /* simulate smooth scrolling */
+ raw();
+ keypad(stdscr, true);
+ typeahead(-1);
meta(stdscr, true);
+ curs_set(0);
+ ESCDELAY = 50;
}
/*