mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
17 lines
366 B
C++
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_));
|
|
}
|