ncreader: set up tchannels/tattrword #403

pull/592/head
nick black 4 years ago committed by Nick Black
parent f2546c0949
commit e15055034e

@ -21,6 +21,8 @@ ncreader* ncreader_create(notcurses* nc, int y, int x, const ncreader_options* o
}
nr->tchannels = opts->tchannels;
nr->tattrs = opts->tattrword;
ncplane_set_channels(nr->ncp, opts->tchannels);
ncplane_set_attr(nr->ncp, opts->tattrword);
}
return nr;
}

Loading…
Cancel
Save