Skip to content

feat(ui): rewrite Show-Logo with PS5.1 VT support#57

Merged
jakehildreth merged 1 commit into
mainfrom
feature/update-logo
May 9, 2026
Merged

feat(ui): rewrite Show-Logo with PS5.1 VT support#57
jakehildreth merged 1 commit into
mainfrom
feature/update-logo

Conversation

@jakehildreth
Copy link
Copy Markdown
Owner

Summary

Rewrites Show-Logo to work correctly on both PS5.1 (conhost + Windows
Terminal) and PS7+, and removes the logo from Invoke-Locksmith2 since
it now runs at module import time.

Changes

  • Private/UI/Show-Logo.ps1: Complete rewrite with native VT
    processing support. PS5.1 conhost requires explicitly enabling virtual
    terminal processing on the stdout handle before ANSI escape sequences
    render correctly; the old implementation assumed PS7+/Windows Terminal
    and produced garbled output (â–ˆ instead of ) in PS5.1.
  • Public/Invoke-Locksmith2.ps1: Removed Show-Logo call. Logo
    now executes once at module import time as a standalone script rather
    than on every Invoke-Locksmith2 invocation.
  • Build/Build-Module.ps1: Removed PwshSpectreConsole from
    IgnoreModuleName list — no longer a build-time dependency.
  • Locksmith2.psd1: Version bump to 2026.5.90728.

…Invoke-Locksmith2

- rewrite Show-Logo.ps1 with native VT processing support for PS5.1
  conhost, removing reliance on ANSI rendering that only worked in PS7+
- remove Show-Logo call from Invoke-Locksmith2; logo now runs at module
  import time as a standalone script, not on every function invocation
- remove PwshSpectreConsole from Build-Module.ps1 IgnoreModuleName list
  as it is no longer a build-time dependency
- bump ModuleVersion to 2026.5.90728
@jakehildreth jakehildreth merged commit 11ecb33 into main May 9, 2026
1 check passed
@jakehildreth jakehildreth deleted the feature/update-logo branch May 9, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant