MCPcopy Create free account
hub / github.com/admtrv/objcurses / init_ncurses

Function init_ncurses

main.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41static int g_hud_pair = 0; // hud color pair
42
43void 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
52void init_colors(const std::vector<Material> &materials, Theme theme)
53{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected