ncls: use NCBLIT_PIXEL

This commit is contained in:
nick black 2021-03-04 02:24:55 -05:00
parent c0cad0d497
commit 76e1f01572
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -225,7 +225,6 @@ int main(int argc, char* const * argv){
break;
}
}
notcurses_check_
auto procs = std::thread::hardware_concurrency();
if(procs <= 0){
procs = 4;
@ -242,6 +241,7 @@ int main(int argc, char* const * argv){
dereflinks,
alignment,
};
ctx.nc.check_pixel_support();
keep_working = true;
for(auto s = 0u ; s < procs ; ++s){
threads.emplace_back(std::thread(ncls_thread, &ctx));