move keyhandling from Tree
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
#include "tree.hpp"
|
||||
#include "utils.hpp"
|
||||
#include "parser.hpp"
|
||||
#include "ui.hpp"
|
||||
#include <ncursesw/ncurses.h>
|
||||
#include <iostream>
|
||||
#include <string.h>
|
||||
@@ -31,7 +32,7 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
|
||||
init_ncurses();
|
||||
tree.display();
|
||||
displayTree(tree);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user