mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
[pixelplot] set distinct name for pixel plane
This commit is contained in:
parent
9185ea000c
commit
230fb801f0
@ -41,6 +41,10 @@ create_pixelp(ncplot *p, ncplane* n){
|
||||
if(((p->pixelp = ncplane_dup(n, NULL)) == NULL)){
|
||||
return -1;
|
||||
}
|
||||
if(ncplane_set_name(p->pixelp, "pmap")){
|
||||
ncplane_destroy(p->pixelp);
|
||||
return -1;
|
||||
}
|
||||
ncplane_reparent(p->pixelp, n);
|
||||
ncplane_move_below(p->pixelp, n);
|
||||
uint64_t basechan = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user