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.
15 lines
351 B
C
15 lines
351 B
C
#include <stdlib.h>
|
|
#include <notcurses/direct.h>
|
|
|
|
int main(void){
|
|
struct ncdirect* n = ncdirect_init(NULL, NULL, 0);
|
|
if(n == NULL){
|
|
return EXIT_FAILURE;
|
|
}
|
|
if(ncdirect_set_fg_rgb(n, 0x00aaaa) || printf("oh yeaaaaaaaaah\n") < 0){
|
|
ncdirect_stop(n);
|
|
return EXIT_FAILURE;
|
|
}
|
|
return ncdirect_stop(n) ? EXIT_FAILURE : EXIT_SUCCESS;
|
|
}
|