notcurses/tests/input.cpp
2020-05-17 07:57:21 -04:00

17 lines
366 B
C++

#include "main.h"
TEST_CASE("NotcursesInput") {
notcurses_options nopts{};
nopts.inhibit_alternate_screen = true;
nopts.suppress_banner = true;
struct notcurses* nc_ = notcurses_init(&nopts, nullptr);
if(!nc_){
return;
}
REQUIRE(0 == notcurses_mouse_enable(nc_));
CHECK(0 == notcurses_mouse_disable(nc_));
CHECK(0 == notcurses_stop(nc_));
}