mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Fix preview-tui jpeg mime
This commit is contained in:
parent
e4988f0264
commit
272e47c64a
|
@ -197,7 +197,7 @@ print_bin_info() {
|
||||||
|
|
||||||
handle_mime() {
|
handle_mime() {
|
||||||
case "$2" in
|
case "$2" in
|
||||||
image/jpg) image_preview "$cols" "$lines" "$1" ;;
|
image/jpeg) image_preview "$cols" "$lines" "$1" ;;
|
||||||
image/gif) generate_preview "$cols" "$lines" "$1" "gif" ;;
|
image/gif) generate_preview "$cols" "$lines" "$1" "gif" ;;
|
||||||
image/*) generate_preview "$cols" "$lines" "$1" "image" ;;
|
image/*) generate_preview "$cols" "$lines" "$1" "image" ;;
|
||||||
video/*) generate_preview "$cols" "$lines" "$1" "video" ;;
|
video/*) generate_preview "$cols" "$lines" "$1" "video" ;;
|
||||||
|
|
Loading…
Reference in a new issue