|
|
@ -301,8 +301,7 @@ int ncplane_fadein(ncplane* n, const struct timespec* ts, fadecb fader, void* cu
|
|
|
|
int ncplane_pulse(ncplane* n, const struct timespec* ts, fadecb fader, void* curry){
|
|
|
|
int ncplane_pulse(ncplane* n, const struct timespec* ts, fadecb fader, void* curry){
|
|
|
|
ncfadectx pp;
|
|
|
|
ncfadectx pp;
|
|
|
|
int ret;
|
|
|
|
int ret;
|
|
|
|
if(!ncplane_notcurses(n)->tcache.caps.rgb &&
|
|
|
|
if(!notcurses_canfade(ncplane_notcurses(n))){
|
|
|
|
!ncplane_notcurses(n)->tcache.caps.can_change_colors){ // terminal can't fade
|
|
|
|
|
|
|
|
return -1;
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if(alloc_ncplane_palette(n, &pp, ts)){
|
|
|
|
if(alloc_ncplane_palette(n, &pp, ts)){
|
|
|
|