extras/powershell_greeting: fix WezTerm logo stretch (iterm + preserveAspectRatio)
CI / Frontend build & lint (push) Successful in 22s
CI / Backend tests (push) Successful in 2m12s

kitty-direct sends c= but no rows through ConPTY (the terminal guesses the height and stretches); the plain kitty type needs tty pixel queries that ConPTY drops. The iterm type with preserveAspectRatio=1 letterboxes any aspect ratio.
This commit is contained in:
2026-09-30 09:44:36 -05:00
parent d2f857d3ee
commit 4889c5c355
3 changed files with 21 additions and 7 deletions
@@ -20,5 +20,7 @@ if (-not $env:J621_BASE) { $env:J621_BASE = 'https://j621.rainbow-herring.ts.net
# if (-not $env:J621_FASTFETCH_CONFIG) { $env:J621_FASTFETCH_CONFIG = 'jake' }
# Force a fastfetch logo type instead of the per-terminal default
# (Windows Terminal -> sixel, WezTerm -> kitty-direct, others -> no image).
# if (-not $env:J621_LOGO_TYPE) { $env:J621_LOGO_TYPE = 'kitty-direct' }
# (Windows Terminal -> sixel, WezTerm -> iterm with preserveAspectRatio,
# others -> no image).
# if (-not $env:J621_LOGO_TYPE) { $env:J621_LOGO_TYPE = 'iterm' }
# if (-not $env:J621_LOGO_HEIGHT) { $env:J621_LOGO_HEIGHT = '25' }