[BUG] PowerShell 7.6 regression in v2.1.89: right-click menu disabled, dirty exit with residual text
Environment
- Shell: PowerShell 7.6
- OS: Windows 11 Pro (10.0.26200)
- Claude Code version: 2.1.89 (released 2026-04-01)
Summary
v2.1.89 introduced PowerShell-specific adaptations that have broken three things in PowerShell 7.6:
- Right-click context menu is completely disabled while Claude Code is running
- Exit leaves residual text/artifacts on screen -- requires manual
clear/clsto clean up /resumerendering blank -- context loads but nothing is visually displayed until user scrolls up and clicks at the top of the output
This is a regression. None of these issues were present in prior versions on the same shell.
Issues
1. Right-click context menu disabled
When Claude Code is running inside PowerShell 7.6, the right-click context menu (paste, select all, etc.) stops working entirely. The new PowerShell adaptations capture or override terminal input events in a way that suppresses the native context menu.
Expected: Right-click context menu should remain functional while Claude Code is active.
2. No clean exit -- residual text left on screen
When exiting Claude Code (via /exit, Ctrl+C, or Ctrl+D), residual text/artifacts remain on the terminal screen. Ghost characters or partial UI remnants persist until the user manually runs clear or cls.
Expected: Claude Code should restore the terminal to a clean state on exit.
3. /resume loads context but does not render it
When running /resume, the context loads successfully but the screen remains blank. The conversation history is invisible until the user manually scrolls up to the top and clicks, at which point it suddenly renders.
Expected: /resume should display loaded context immediately with the viewport at the latest message.
Steps to Reproduce
- Open PowerShell 7.6 on Windows 11
- Launch
claude(v2.1.89) - Try right-clicking in the terminal -- context menu does not appear
- Run
/resumeto load a previous session -- screen appears blank despite context being loaded - Scroll up and click at the top -- conversation suddenly renders
- Exit Claude Code via
/exit - Observe residual text/UI artifacts remaining in the terminal
Regression Context
- Introduced in: v2.1.89 (2026-04-01) -- this release includes new PowerShell-specific adaptations
- Not present in: Prior versions on the same PowerShell 7.6 + Windows Terminal setup
- Not affected: Git Bash on the same machine
Broader Feedback
This is being filed the day after the core dump panic incident (v2.1.88 yanked) and in the same week as the axios supply chain compromise. The trust environment for CLI developer tools is at an all-time low right now.
Respectfully: features like the companion/buddy add no value to professional workflows and consume screen real estate. The priority should be a rock-solid, stable coding experience -- clean terminal handling, reliable session management, and predictable behavior across shells. Not novelty features.
Shipping a release that breaks basic terminal interaction (right-click, clean exit, scroll rendering) in a major shell like PowerShell 7.6 -- right after a core dump scare -- erodes confidence in the tool. Professional users depend on this for production work. Stability and robustness should come before new features.
Possibly Related
- #39319 (Kitty keyboard protocol not reset on exit)
- #40754 (Banner redraws on resize in PowerShell)
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗