Pass width and height to the previewer
This way, the script can do a little magic like head -n $2 $1 | highlight -O ansi --syntax ${1##*.} to avoid reading whole (possibly huge) file.
This commit is contained in:
parent
f356e6d694
commit
8d4a3192f1
Loading…
Reference in New Issue
Block a user