You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
379 B
C
17 lines
379 B
C
#include <notcurses/notcurses.h>
|
|
|
|
int main(void){
|
|
struct notcurses_options opts = {
|
|
.flags = NCOPTION_PRESERVE_CURSOR |
|
|
NCOPTION_NO_CLEAR_BITMAPS |
|
|
NCOPTION_DRAIN_INPUT,
|
|
};
|
|
struct notcurses* nc = notcurses_init(&opts, NULL);
|
|
if(nc == NULL){
|
|
return EXIT_FAILURE;
|
|
}
|
|
notcurses_render(nc);
|
|
notcurses_stop(nc);
|
|
return EXIT_SUCCESS;
|
|
}
|