ncls: default to NCBLIT_PIXEL #1835

This commit is contained in:
nick black 2021-06-26 20:17:37 -04:00
parent 845ab5cdf9
commit e813e3abe4
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC
2 changed files with 7 additions and 3 deletions

View File

@ -31,9 +31,13 @@ ncls - List paths with rendering of multimedia
**-a**|**--align** ***type***: Align images on **left**, **center**, or **right**.
**-b**|**--blitter** ***blitter***: Blitter, one of **ascii**, **half**, **quad**, **sex**, **braille**, or **pixel**.
**-b**|**--blitter** ***blitter***: Blitter, one of **ascii**, **half**,
**quad**, **sex**, **braille**, or **pixel**. The default is ***pixel***.
If the chosen blitter is unavailable, **ncls** will degrade (see
**notcurses_visual(3)**).
**-s**|**--scale** ***scalemode***: Scaling mode, one of **none**, **hires**, **scale**, **scalehi**, or **stretch**.
**-s**|**--scale** ***scalemode***: Scaling mode, one of **none**, **hires**,
**scale**, **scalehi**, or **stretch**.
paths: Run on the specified paths. If none are supplied, run on the current
directory.

View File

@ -186,7 +186,7 @@ int main(int argc, char* const * argv){
bool longlisting = false;
bool dereflinks = false;
ncpp::NCAlign alignment = ncpp::NCAlign::Right;
ncblitter_e blitter = NCBLIT_DEFAULT;
ncblitter_e blitter = NCBLIT_PIXEL;
ncscale_e scale = NCSCALE_SCALE_HIRES;
const struct option opts[] = {
{ "align", 1, nullptr, 'a' },