| 41 | static int g_hud_pair = 0; // hud color pair |
| 42 | |
| 43 | void init_ncurses() |
| 44 | { |
| 45 | initscr(); // start ncurses mode |
| 46 | noecho(); // disable echoing of typed characters |
| 47 | curs_set(0); // hide the cursor |
| 48 | keypad(stdscr, true); // enable special keys (arrows, etc.) |
| 49 | timeout(1); // make getch() non-blocking |
| 50 | } |
| 51 | |
| 52 | void init_colors(const std::vector<Material> &materials, Theme theme) |
| 53 | { |