From fef35db1c99493ded178b3e851b4dc964d8bf545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?joseLu=C3=ADs?= Date: Sun, 20 Mar 2022 12:38:31 +0100 Subject: [PATCH] =?UTF-8?q?fix=20docs:=20rename=20ncplane=5Fattr=20?= =?UTF-8?q?=E2=86=92=20ncplane=5Fstyles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- USAGE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/USAGE.md b/USAGE.md index f90da0dd7..c1321e015 100644 --- a/USAGE.md +++ b/USAGE.md @@ -1303,7 +1303,7 @@ ncplane_putc(struct ncplane* n, const nccell* c){ // This works whether the underlying char is signed or unsigned. static inline int ncplane_putchar_yx(struct ncplane* n, int y, int x, char c){ - nccell ce = CELL_INITIALIZER(c, ncplane_attr(n), ncplane_channels(n)); + nccell ce = CELL_INITIALIZER(c, ncplane_styles(n), ncplane_channels(n)); return ncplane_putc_yx(n, y, x, &ce); } @@ -1808,7 +1808,7 @@ all implemented in terms of the lower-level [Channels API](#channels). uint64_t ncplane_channels(const struct ncplane* n); // Get the current styling for the ncplane 'n'. -uint16_t ncplane_attr(const struct ncplane* n); +uint16_t ncplane_styles(const struct ncplane* n); // Set the alpha and coloring bits of the plane's current channels from a // 64-bit pair of channels.