From a749ede622c9c9bb2a0ad000c2f7b38b37fa3898 Mon Sep 17 00:00:00 2001 From: nick black Date: Fri, 2 Jul 2021 21:28:11 -0400 Subject: [PATCH] USAGE: elaborate on ncplane_set_*_palindex #1554 --- USAGE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/USAGE.md b/USAGE.md index 8d3357e74..95e11df42 100644 --- a/USAGE.md +++ b/USAGE.md @@ -1701,6 +1701,7 @@ int ncplane_set_bg_rgb(struct ncplane* n, uint32_t channel); void ncplane_set_fg_default(struct ncplane* n); void ncplane_set_bg_default(struct ncplane* n); +// Provide a palette index on [0..255]. int ncplane_set_fg_palindex(struct ncplane* n, int idx); int ncplane_set_bg_palindex(struct ncplane* n, int idx); ```