From: Luuk van Baal Date: Tue, 28 Jun 2022 10:43:35 +0000 (+0200) Subject: Scale up kitty previews X-Git-Tag: v4.6~30^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=3e84c275ba5d21873a760193c467ecf2c83d2a35;p=nnn.git Scale up kitty previews --- diff --git a/plugins/preview-tui b/plugins/preview-tui index 5d088edd..218a647b 100755 --- a/plugins/preview-tui +++ b/plugins/preview-tui @@ -411,7 +411,7 @@ image_preview() { clear if [ "$TERMINAL" = "kitty" ]; then # Kitty terminal users can use the native image preview method - kitty +kitten icat --silent --place "$1"x"$2"@0x0 --transfer-mode=stream --stdin=no "$3" & + kitty +kitten icat --silent --scale-up --place "$1"x"$2"@0x0 --transfer-mode=stream --stdin=no "$3" & elif exists ueberzug; then ueberzug_layer "$1" "$2" "$3" && return elif exists catimg; then