[Bug] PowerShell autocomplete crash: RuntimeError on arrow key navigation

Resolved 💬 3 comments Opened Dec 16, 2025 by baran39260 Closed Feb 14, 2026

Bug Description
/bug In Windows PowerShell, when typing "/" to access slash commands, the autocomplete menu appears briefly, but using arrow keys (or Tab) to navigate causes a crash with the error "RuntimeError: memory access out of bounds". This immediately exits the session.

Version: 2.0.70
OS: Windows (likely 10 or 11)
Terminal: PowerShell
Reproduction steps:

  1. Start a new session with "claude"
  2. Type "/"
  3. Try to use arrow keys to select from the menu
  4. Session crashes with the above error

Typing full commands like "/help" directly (without navigation) works as a workaround. Changing to Git Bash or Windows Terminal may avoid the issue, but PowerShell is commonly used.

This seems related to terminal input handling on Windows, possibly similar to known issues with key navigation in lists (e.g., resume sessions).

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.0.70
  • Feedback ID: 8aed2588-9c60-42f0-90c8-28842a68ef4f

Errors

[]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗