mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
15 lines
293 B
C++
15 lines
293 B
C++
#include "main.h"
|
|
|
|
TEST_CASE("NotcursesInput") {
|
|
notcurses_options nopts{};
|
|
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_));
|
|
}
|