python wrappers for direct mode

pull/296/head
nick black 4 years ago
parent 81b58234ee
commit bc15d517d3
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -234,6 +234,10 @@ int palette256_set(palette256* p, int idx, unsigned rgb);
int palette256_get_rgb(const palette256* p, int idx, unsigned* r, unsigned* g, unsigned* b);
void palette256_free(palette256* p);
bool notcurses_canchangecolor(const struct notcurses* nc);
struct ncdirect* notcurses_directmode(const char* termtype, FILE* fp);
int ncdirect_bg_rgb8(struct ncdirect* nc, unsigned r, unsigned g, unsigned b);
int ncdirect_fg_rgb8(struct ncdirect* nc, unsigned r, unsigned g, unsigned b);
int ncdirect_stop(struct ncdirect* nc);
""")
if __name__ == "__main__":

Loading…
Cancel
Save