add comment to ncdirect_putstr() about flushing #926

This commit is contained in:
nick black 2020-08-20 22:41:45 -04:00
parent bdea9bc9c8
commit 567ad27455
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -31,7 +31,9 @@ API int ncdirect_bg_palindex(struct ncdirect* nc, int pidx);
// more colors than they actually support, downsampling internally.
API unsigned ncdirect_palette_size(const struct ncdirect* nc);
// Output the string |utf8| according to the channels |channels|.
// Output the string |utf8| according to the channels |channels|. Note that
// ncdirect_putstr() does not explicitly flush output buffers, so it will not
// necessarily be immediately visible.
API int ncdirect_putstr(struct ncdirect* nc, uint64_t channels, const char* utf8);
static inline int