#include #include #include #include #include "cursetree.h" int main(int argc, char **argv) { struct ct_tree *tree; ct_init(&tree); init_pair(1, COLOR_CYAN, COLOR_CYAN); init_pair(2, COLOR_RED, COLOR_RED); // wbkgd(tree->root->win, COLOR_PAIR(1)); // wrefresh(tree->root->win); int i = 1; while (1) { ct_update(tree); } destroy_tree(tree); return EXIT_SUCCESS; }