diff options
Diffstat (limited to 'termbox/x.cc')
-rw-r--r-- | termbox/x.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/termbox/x.cc b/termbox/x.cc new file mode 100644 index 00000000..73373818 --- /dev/null +++ b/termbox/x.cc @@ -0,0 +1,11 @@ +#include<iostream> +#include"termbox.h" + +int main() { + tb_event event; + tb_init(); + tb_poll_event(&event); + tb_shutdown(); + std::cerr << (int)event.type << '\n'; + return 0; +} |