# | Line 39 | Line 39 | |
---|---|---|
39 | #include <math.h> | |
40 | ||
41 | #ifdef HAVE_NCURSES_H | |
42 | – | #include <ncurses.h> |
42 | #define COLOR_SUPPORT | |
44 | – | #else |
45 | – | #include <curses.h> |
43 | #endif | |
44 | + | #include CURSES_HEADER_FILE |
45 | ||
46 | #define THRESHOLD_LOAD 1.0 | |
47 | ||
# | Line 647 | Line 645 | int main(int argc, char **argv){ | |
645 | } | |
646 | #endif | |
647 | nonl(); | |
648 | + | curs_set(0); |
649 | cbreak(); | |
650 | noecho(); | |
651 | timeout(delay * 1000); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |