Merge pull request #1036 from luukvbaal/preview-tui

Fix preview-tui jpeg mime
This commit is contained in:
Piña Colada 2021-05-31 17:31:58 +05:30 committed by GitHub
commit a79ef66abb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" ;;