extras/powershell_greeting: fix WezTerm logo stretch (iterm + preserveAspectRatio)
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:
@@ -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' }
|
||||
|
||||
Reference in New Issue
Block a user