mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-16 00:13:00 +00:00
fix docs: rename ncplane_attr → ncplane_styles
This commit is contained in:
parent
ec1ef7200b
commit
fef35db1c9
4
USAGE.md
4
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.
|
||||
|
Loading…
Reference in New Issue
Block a user