diff options
Diffstat (limited to 'test/D/HSTeoh/LinkingProblem/ncurs_impl.c')
-rw-r--r-- | test/D/HSTeoh/LinkingProblem/ncurs_impl.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/D/HSTeoh/LinkingProblem/ncurs_impl.c b/test/D/HSTeoh/LinkingProblem/ncurs_impl.c new file mode 100644 index 0000000..3ca6dd3 --- /dev/null +++ b/test/D/HSTeoh/LinkingProblem/ncurs_impl.c @@ -0,0 +1,13 @@ +/* Ncurses wrappers */ +#include <ncurses.h> + +void ncurs_init() { + initscr(); + cbreak(); + noecho(); + keypad(stdscr, TRUE); +} + +void ncurs_cleanup() { + endwin(); +} |