mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
USAGE: update ncplane_putsimple_yx() definition
This commit is contained in:
parent
a2c95814b7
commit
03cff6b7fd
3
USAGE.md
3
USAGE.md
@ -902,9 +902,6 @@ ncplane_putc(struct ncplane* n, const cell* c){
|
||||
static inline int
|
||||
ncplane_putsimple_yx(struct ncplane* n, int y, int x, char c){
|
||||
cell ce = CELL_INITIALIZER(c, ncplane_attr(n), ncplane_channels(n));
|
||||
if(!cell_simple_p(&ce)){
|
||||
return -1;
|
||||
}
|
||||
return ncplane_putc_yx(n, y, x, &ce);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user